Merge pull request #17310 from agh1/autorenew-active-icon
[civicrm-core.git] / CRM / Core / Permission.php
index 3cce2d04c4f5acdf19d2a2e704796b5916aac9ca..08c978af389b3deb05f32767af0dee3265ae826d 100644 (file)
@@ -531,7 +531,7 @@ class CRM_Core_Permission {
     if (empty($item['access_callback']) ||
       is_numeric($item['access_callback'])
     ) {
-      return (boolean ) $item['access_callback'];
+      return (bool) $item['access_callback'];
     }
 
     // check whether the following Ajax requests submitted the right key