X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=api%2Fv3%2FCustomGroup.php;h=d1c92854513ad6cf53f2e762ea63104f5fec9b85;hb=61ac5f959d775677c6eadffed193fde1d815eac4;hp=e5c06c3d003f219ce41c1fe264ebc260f19a7b74;hpb=c1c4f1e167414705fbceb41881d8f5cf91ca2d63;p=civicrm-core.git diff --git a/api/v3/CustomGroup.php b/api/v3/CustomGroup.php index e5c06c3d00..d1c9285451 100644 --- a/api/v3/CustomGroup.php +++ b/api/v3/CustomGroup.php @@ -2,9 +2,9 @@ /* +--------------------------------------------------------------------+ - | CiviCRM version 4.3 | + | CiviCRM version 4.5 | +--------------------------------------------------------------------+ - | Copyright CiviCRM LLC (c) 2004-2013 | + | Copyright CiviCRM LLC (c) 2004-2014 | +--------------------------------------------------------------------+ | This file is a part of CiviCRM. | | | @@ -32,7 +32,7 @@ * @package CiviCRM_APIv3 * @subpackage API_CustomGroup * - * @copyright CiviCRM LLC (c) 2004-2013 + * @copyright CiviCRM LLC (c) 2004-2014 * @version $Id: CustomGroup.php 30879 2010-11-22 15:45:55Z shot $ */ @@ -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;