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:
9c4b226
)
CRM-15613 - Fix access to undefined property error
author
Coleman Watts
<coleman@civicrm.org>
Tue, 25 Nov 2014 03:08:25 +0000
(22:08 -0500)
committer
Coleman Watts
<coleman@civicrm.org>
Tue, 25 Nov 2014 03:08:25 +0000
(22:08 -0500)
CRM/Group/Form/Edit.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Group/Form/Edit.php
b/CRM/Group/Form/Edit.php
index 031ca8b7444b4e3f671ae0485852610759b169b5..32b3dd1284cb5a60157a4a46df93175d02d4a9d0 100644
(file)
--- a/
CRM/Group/Form/Edit.php
+++ b/
CRM/Group/Form/Edit.php
@@
-498,10
+498,7
@@
WHERE title = %1
if (count($parentGroupSelectValues) > 1) {
if (CRM_Core_Permission::isMultisiteEnabled()) {
- $required = empty($parentGroups) ? TRUE : FALSE;
- $required = (($obj->_id && CRM_Core_BAO_Domain::isDomainGroup($obj->_id)) ||
- !isset($obj->_id)
- ) ? FALSE : $required;
+ $required = !isset($obj->_id) || ($obj->_id && CRM_Core_BAO_Domain::isDomainGroup($obj->_id)) ? FALSE : empty($parentGroups);
}
else {
$required = FALSE;