notice fixes
authorkurund <kurund@civicrm.org>
Wed, 14 Aug 2013 07:01:37 +0000 (12:31 +0530)
committerkurund <kurund@civicrm.org>
Wed, 14 Aug 2013 07:01:37 +0000 (12:31 +0530)
CRM/Mailing/Event/BAO/Subscribe.php

index ad7d1e5fcca38083cd20e4abb1a47e7002f03a52..ed7f23734e0849ac6f8b8f5241d225f3b6444eb8 100644 (file)
@@ -315,7 +315,7 @@ SELECT     civicrm_email.id as email_id
    * @return array $groups    array of group ids
    * @access public
    */
-  function getContactGroups($email, $contactID = NULL) {
+  public static function getContactGroups($email, $contactID = NULL) {
     if ($contactID) {
       $query = "
                  SELECT DISTINCT group_a.group_id, group_a.status, civicrm_group.title