Fix array_search notice from null array in CRM_Core_Permission::event
Merge pull request #1080 from davecivicrm/eventPermissionNoticeFix

Fix array_search notice from null array in CRM_Core_Permission::event