mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-23 15:18:58 +01:00
No permission check when initializing link hooks for during asyncronous processing.
Fixes missing links in notifications.
This commit is contained in:
parent
da0cb798e5
commit
80962c1963
@ -173,7 +173,7 @@ class egw_link extends solink
|
|||||||
// for performance reasons, we do it only once / cache it in the session
|
// 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')))
|
if (!($search_link_hooks = $GLOBALS['egw']->session->appsession('search_link_hooks','phpgwapi')))
|
||||||
{
|
{
|
||||||
$search_link_hooks = $GLOBALS['egw']->hooks->process('search_link');
|
$search_link_hooks = $GLOBALS['egw']->hooks->process('search_link',array(), boolval($GLOBALS['egw_info']['flags']['async-service']));
|
||||||
$GLOBALS['egw']->session->appsession('search_link_hooks','phpgwapi',$search_link_hooks);
|
$GLOBALS['egw']->session->appsession('search_link_hooks','phpgwapi',$search_link_hooks);
|
||||||
}
|
}
|
||||||
if (is_array($search_link_hooks))
|
if (is_array($search_link_hooks))
|
||||||
|
Loading…
Reference in New Issue
Block a user