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:
d527a1c
)
CRM-19118 Fix Syntax Confromance test by specifiy data for children and parent fields...
author
Seamus Lee
<seamuslee001@gmail.com>
Fri, 22 Jul 2016 22:23:11 +0000
(08:23 +1000)
committer
Seamus Lee
<seamuslee001@gmail.com>
Fri, 22 Jul 2016 22:23:11 +0000
(08:23 +1000)
CRM/Contact/BAO/Group.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Contact/BAO/Group.php
b/CRM/Contact/BAO/Group.php
index cf6483eba9aa0edcdc9de0beb02cee7434ace802..e6ff9a80068484aa5f50956a0f08e786f602fc97 100644
(file)
--- a/
CRM/Contact/BAO/Group.php
+++ b/
CRM/Contact/BAO/Group.php
@@
-1323,4
+1323,20
@@
WHERE {$whereClause}";
return CRM_Utils_PagerAToZ::getAToZBar($dao, $this->_sortByCharacter, TRUE);
}
+ /**
+ * Assign Test Value.
+ *
+ * @param string $fieldName
+ * @param array $fieldDef
+ * @param int $counter
+ */
+ protected function assignTestValue($fieldName, &$fieldDef, $counter) {
+ if ($fieldName == 'children' || $fieldName = 'parents') {
+ $this->{$fieldName} = "NULL";
+ }
+ else {
+ parent::assignTestValues($fieldaName, $fieldDef, $counter);
+ }
+ }
+
}