*
*/
function civicrm_api3_dashboard_create($params) {
- if (!CRM_Utils_Array::value('id', $params)) {
+ if (empty($params['id'])) {
civicrm_api3_verify_one_mandatory($params,
NULL,
array(
else {
return civicrm_api3_create_error('Could not delete dashlet');
}
-}
\ No newline at end of file
+}