CRM-18472: fix notice
authoryashodha <yashodha.chaku@webaccessglobal.com>
Tue, 19 Jul 2016 05:49:58 +0000 (11:19 +0530)
committeryashodha <yashodha.chaku@webaccessglobal.com>
Tue, 19 Jul 2016 05:49:58 +0000 (11:19 +0530)
----------------------------------------
* CRM-18472: Notice fixes
  https://issues.civicrm.org/jira/browse/CRM-18472

CRM/Contact/BAO/GroupContact.php

index a495afb2c51bfef023f57a0963ac8a546694c276..3c7eaa6edaaa979bad463c24c1fcd925c211f32d 100644 (file)
@@ -98,7 +98,7 @@ class CRM_Contact_BAO_GroupContact extends CRM_Contact_DAO_GroupContact {
     if (empty($params)) {
       return NULL;
     }
-    $values['group']['data'] = &CRM_Contact_BAO_GroupContact::getContactGroup($params['contact_id'],
+    $values['group']['data'] = CRM_Contact_BAO_GroupContact::getContactGroup($params['contact_id'],
       'Added',
       3
     );