Fix static fn php warning
authorColeman Watts <coleman@civicrm.org>
Fri, 3 Jan 2014 22:38:19 +0000 (14:38 -0800)
committerColeman Watts <coleman@civicrm.org>
Fri, 3 Jan 2014 22:38:19 +0000 (14:38 -0800)
CRM/Contact/BAO/GroupContact.php

index 77975561468af11724bae694ee2fe3e1e17c8651..f39d7559c4d3a6fe4fe308d0c730418a99d646e4 100644 (file)
@@ -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) {