projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
34024a2
)
CRM-18187 - Bug fix for enable a disabled group
author
Ujjwal Wahi
<w.ujjwal@gmail.com>
Tue, 8 Mar 2016 19:16:21 +0000
(
00:46
+0530)
committer
Ujjwal Wahi
<w.ujjwal@gmail.com>
Tue, 8 Mar 2016 19:16:21 +0000
(
00:46
+0530)
----------------------------------------
* CRM-18187: Can't enable a disabled group
https://issues.civicrm.org/jira/browse/CRM-18187
CRM/Contact/BAO/Group.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Contact/BAO/Group.php
b/CRM/Contact/BAO/Group.php
index c0d1f629294600f9cafe2dc5d25d13c3c1fcd780..ec663c404b0a36e08728651113d37977d356587e 100644
(file)
--- a/
CRM/Contact/BAO/Group.php
+++ b/
CRM/Contact/BAO/Group.php
@@
-752,7
+752,7
@@
class CRM_Contact_BAO_Group extends CRM_Contact_DAO_Group {
$group['DT_RowId'] = 'row_' . $value['id'];
if (!$params['parentsOnly']) {
foreach ($value['class'] as $id => $class) {
- if ($class = 'crm-group-parent') {
+ if ($class =
=
'crm-group-parent') {
unset($value['class'][$id]);
}
}