20ef08a6e0
Organic groups 2.7 and actual dev version contain a bug that overrides subscription field classes when it contains another #option attribute insted of merge. drupal.org.make og module contains the local patch until this bug is fixed in a stable upstream release. Change-Id: Ic729e368c1eb07b56feef187bf3e1fe4c2cc31a2
15 lines
758 B
Diff
15 lines
758 B
Diff
diff -Naur og.orig/og_ui/og_ui.module og/og_ui/og_ui.module
|
|
--- og.orig/og_ui/og_ui.module 2014-10-27 16:43:19.000000000 +0100
|
|
+++ og/og_ui/og_ui.module 2014-10-27 16:45:02.000000000 +0100
|
|
@@ -694,7 +694,9 @@
|
|
}
|
|
|
|
if (!empty($links['title'])) {
|
|
- $links += array('options' => array('attributes' => array('title' => $links['title'], 'class' => array($links['class']))));
|
|
+ // Patch upstream, we need array_merge_recursive here.
|
|
+ $links_options = array('options' => array('attributes' => array('title' => $links['title'], 'class' => array($links['class']))));
|
|
+ $links = array_merge_recursive($links, $links_options);
|
|
$element[0] = array(
|
|
'#type' => 'link',
|
|
'#title' => $links['title'],
|