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:
7f76694
)
[REF] Ensure that the form param _id is set when adding a new group with the newly...
author
Seamus Lee
<seamuslee001@gmail.com>
Tue, 25 Aug 2020 07:57:32 +0000
(17:57 +1000)
committer
Seamus Lee
<seamuslee001@gmail.com>
Tue, 25 Aug 2020 07:57:32 +0000
(17:57 +1000)
CRM/Group/Form/Edit.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Group/Form/Edit.php
b/CRM/Group/Form/Edit.php
index d9be20cdfb864c7cc7e2815f7e0904c0cc8be207..e384dc36cc7fe3dd3313e43f3d4e6f426845c5ff 100644
(file)
--- a/
CRM/Group/Form/Edit.php
+++ b/
CRM/Group/Form/Edit.php
@@
-371,7
+371,8
@@
WHERE title = %1
);
$group = CRM_Contact_BAO_Group::create($params);
-
+ // Set the entity id so it is available to postProcess hook consumers
+ $this->setEntityId($group->id);
//Remove any parent groups requested to be removed
if (!empty($this->_groupValues['parents'])) {
$parentGroupIds = explode(',', $this->_groupValues['parents']);