Warning fix
authorWeb Access <rohan.katkar@webaccessglobal.com>
Fri, 10 Jul 2015 13:13:15 +0000 (18:43 +0530)
committerWeb Access <rohan.katkar@webaccessglobal.com>
Fri, 10 Jul 2015 13:13:15 +0000 (18:43 +0530)
Civi/API/Subscriber/PermissionCheck.php

index aac7bcb106e4063142bade7ab9926384b20552ff..0b39d1d1fcd5db5b7a0c7999f1d19133219b7236 100644 (file)
@@ -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;