From: Coleman Watts Date: Fri, 3 Jan 2014 22:38:19 +0000 (-0800) Subject: Fix static fn php warning X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=6498403aa66d25e8d5ff7bb18ccb5cb46cd52296;p=civicrm-core.git Fix static fn php warning --- diff --git a/CRM/Contact/BAO/GroupContact.php b/CRM/Contact/BAO/GroupContact.php index 7797556146..f39d7559c4 100644 --- a/CRM/Contact/BAO/GroupContact.php +++ b/CRM/Contact/BAO/GroupContact.php @@ -438,7 +438,7 @@ class CRM_Contact_BAO_GroupContact extends CRM_Contact_DAO_GroupContact { * @access public * @static */ - function &getMembershipDetail($contactId, $groupID, $method = 'Email') { + static function getMembershipDetail($contactId, $groupID, $method = 'Email') { $leftJoin = $where = $orderBy = null; if ($method) {