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:
52eabaf
)
CRM-14503 patch fixes grouphierarchy error
author
Tyrell Cook
<tyrell@aghstrategies.com>
Tue, 29 Apr 2014 17:06:51 +0000
(13:06 -0400)
committer
Tyrell Cook
<tyrell@aghstrategies.com>
Tue, 29 Apr 2014 17:06:51 +0000
(13:06 -0400)
CRM/Contact/BAO/Group.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Contact/BAO/Group.php
b/CRM/Contact/BAO/Group.php
index 52e860efdc528f4c21d20b5369b24b72ccaea706..7a8d6adee4a4eb53f2ac32981f1e9b4494b2babd 100644
(file)
--- a/
CRM/Contact/BAO/Group.php
+++ b/
CRM/Contact/BAO/Group.php
@@
-1017,7
+1017,9
@@
WHERE id IN $groupIdString
//list. This maintains the hierarchical ordering of the tags.
$roots = array_merge($new_roots, $roots);
}
-
+ foreach($rows as $value) {
+ $groups[$value['id']] = array($value['prefix'], $value['title']);
+ }
// Prefix titles with the calcuated spacing to give the visual
// appearance of ordering when transformed into HTML in the form layer. Add description and visibility.
$groupsReturn = array();