e-notice fix
authoreileen <eileen@fuzion.co.nz>
Fri, 28 Jun 2013 10:42:39 +0000 (22:42 +1200)
committereileen <eileen@fuzion.co.nz>
Fri, 28 Jun 2013 10:43:33 +0000 (22:43 +1200)
api/v3/CustomGroup.php

index e5c06c3d003f219ce41c1fe264ebc260f19a7b74..3290b3a4fb3b4bbead621f8a7be26d93352c7862 100644 (file)
@@ -63,7 +63,7 @@
  * @access public
  */
 function civicrm_api3_custom_group_create($params) {
-  if (is_string($params['extends'])) {
+  if (isset($params['extends']) && is_string($params['extends'])) {
     $extends = explode(",", $params['extends']);
     unset($params['extends']);
     $params['extends'] = $extends;