From 041200a2455c7cb9c177a0155a66b4b0ab5b6b3a Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Mon, 10 May 2010 19:05:17 +0000 Subject: [PATCH] Register link hooks for all installed apps, not just the ones the current user has access to. This lets the apps decide if the user has access to the data or not --- phpgwapi/inc/class.egw_link.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpgwapi/inc/class.egw_link.inc.php b/phpgwapi/inc/class.egw_link.inc.php index 0ffb021fa3..5923b8b5b9 100644 --- a/phpgwapi/inc/class.egw_link.inc.php +++ b/phpgwapi/inc/class.egw_link.inc.php @@ -135,7 +135,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'); + $search_link_hooks = $GLOBALS['egw']->hooks->process('search_link', array(), true); $GLOBALS['egw']->session->appsession('search_link_hooks','phpgwapi',$search_link_hooks); } if (is_array($search_link_hooks))