mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 09:09:04 +01:00
replaced PHP 5.5 boolval function with (bool) cast
This commit is contained in:
parent
95b89a0c9f
commit
e9295a5861
@ -173,7 +173,7 @@ class egw_link extends solink
|
||||
// for performance reasons, we do it only once / cache it in the session
|
||||
if (!($search_link_hooks = $GLOBALS['egw']->session->appsession('search_link_hooks','phpgwapi')))
|
||||
{
|
||||
$search_link_hooks = $GLOBALS['egw']->hooks->process('search_link',array(), boolval($GLOBALS['egw_info']['flags']['async-service']));
|
||||
$search_link_hooks = $GLOBALS['egw']->hooks->process('search_link',array(), (bool)$GLOBALS['egw_info']['flags']['async-service']);
|
||||
$GLOBALS['egw']->session->appsession('search_link_hooks','phpgwapi',$search_link_hooks);
|
||||
}
|
||||
if (is_array($search_link_hooks))
|
||||
|
Loading…
Reference in New Issue
Block a user