typo fix
authorjitendrapurohit <jitendra.purohit@webaccessglobal.com>
Fri, 31 Jul 2015 12:28:46 +0000 (17:58 +0530)
committerjitendrapurohit <jitendra.purohit@webaccessglobal.com>
Fri, 31 Jul 2015 12:28:46 +0000 (17:58 +0530)
api/v3/Group.php

index 37b9567c1eb0556f7b02ce07971a795b67dde321..a44076ddeb10edc909dc3a5c81bdca7ea7d13726 100644 (file)
@@ -77,7 +77,7 @@ function civicrm_api3_group_get($params) {
     if (!$permission) {
       unset($groups[$id]);
     }
-    else if (!empty($options['return']) && in_array('member_count', $options['return'])) {
+    elseif (!empty($options['return']) && in_array('member_count', $options['return'])) {
       $groups[$id]['member_count'] = CRM_Contact_BAO_Group::memberCount($id);
     }
   }