<?php
-// $Id$
/*
+--------------------------------------------------------------------+
- | CiviCRM version 4.3 |
+ | CiviCRM version 4.4 |
+--------------------------------------------------------------------+
| Copyright CiviCRM LLC (c) 2004-2013 |
+--------------------------------------------------------------------+
* @version $Id: Group.php 30171 2010-10-14 09:11:27Z mover $
*/
-/**
- * Include utility functions
- */
-require_once 'CRM/Contact/BAO/Group.php';
-
/**
* create/update group
*
$returnProperties['id'] = 1;
$returnProperties = array_keys($returnProperties);
}
- if (CRM_Utils_Array::value('group_id', $inputParams)) {
+ if (!empty($inputParams['group_id'])) {
$inputParams['id'] = $inputParams['group_id'];
}
$groupObjects = CRM_Contact_BAO_Group::getGroups($inputParams, $returnProperties, $sort, $offset, $rowCount);