dev/core#382 Ensure that no db errors are generated when trying to update a civicrm...
authorSeamus Lee <seamuslee001@gmail.com>
Thu, 6 Sep 2018 04:58:08 +0000 (14:58 +1000)
committerSeamus Lee <seamuslee001@gmail.com>
Fri, 7 Sep 2018 21:47:53 +0000 (07:47 +1000)
commit1321b65beced9dd703734dc3c96204de6e12f6ab
tree82c76a45e5e656fb07459ebae0b52cfcb5038685
parentbdf6f906cbf154f72d078d3fa490510f2a68aea4
dev/core#382 Ensure that no db errors are generated when trying to update a civicrm group linked to an organization when the group id doesn't match the id of the relevant row in civicrm_group_organization

Only Pass necessary params to GroupOrganization::add function
CRM/Contact/BAO/Group.php
tests/phpunit/CRM/Contact/BAO/GroupTest.php