From: Web Access Date: Fri, 10 Jul 2015 13:13:15 +0000 (+0530) Subject: Warning fix X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=0a63dad55f6b2a6f0439c528ce9e6a8661585629;p=civicrm-core.git Warning fix --- diff --git a/Civi/API/Subscriber/PermissionCheck.php b/Civi/API/Subscriber/PermissionCheck.php index aac7bcb106..0b39d1d1fc 100644 --- a/Civi/API/Subscriber/PermissionCheck.php +++ b/Civi/API/Subscriber/PermissionCheck.php @@ -111,7 +111,7 @@ class PermissionCheck implements EventSubscriberInterface { case 'ActionSchedule': $events = \CRM_Event_BAO_Event::getEvents(); $aclEdit = \CRM_ACL_API::group(\CRM_Core_Permission::EDIT, NULL, 'civicrm_event', $events); - $param = array('id'=>$apiRequest['params']['id']); + $param = array('id' => $apiRequest['params']['id']); $eventId = \CRM_Core_BAO_ActionSchedule::retrieve($param, $value = array()); if (in_array($eventId->entity_value, $aclEdit)) { return TRUE;