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:
e5ccee4
)
Don't pass $ids by reference in add function
author
colemanw
<coleman@civicrm.org>
Thu, 24 Jan 2019 00:55:19 +0000
(19:55 -0500)
committer
GitHub
<noreply@github.com>
Thu, 24 Jan 2019 00:55:19 +0000
(19:55 -0500)
CRM/Contact/BAO/Relationship.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Contact/BAO/Relationship.php
b/CRM/Contact/BAO/Relationship.php
index b0a92b3fa1119a090ea04dbd59b11d07bbd60767..c7a71a6c43cffd1317118bf53069e2eae422e3a8 100644
(file)
--- a/
CRM/Contact/BAO/Relationship.php
+++ b/
CRM/Contact/BAO/Relationship.php
@@
-284,7
+284,7
@@
class CRM_Contact_BAO_Relationship extends CRM_Contact_DAO_Relationship {
*
* @return CRM_Contact_BAO_Relationship
*/
- public static function add(
&
$params, $ids = array(), $contactId = NULL) {
+ public static function add($params, $ids = array(), $contactId = NULL) {
$params['id'] = CRM_Utils_Array::value('relationship', $ids, CRM_Utils_Array::value('id', $params));
$hook = 'create';