From 6ef914fbbbe54a03f9df635651615808efc542ed Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Mon, 16 Mar 2009 13:00:45 +0000 Subject: [PATCH] "using etemplate::$hooked instead of $GLOBALS['egw_info']['etemplate']['hooked']" --- infolog/inc/class.infolog_ui.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/infolog/inc/class.infolog_ui.inc.php b/infolog/inc/class.infolog_ui.inc.php index e8444bd6df..af1853d586 100644 --- a/infolog/inc/class.infolog_ui.inc.php +++ b/infolog/inc/class.infolog_ui.inc.php @@ -1493,12 +1493,12 @@ class infolog_ui $GLOBALS['egw']->translation->add_app('infolog'); - $GLOBALS['egw_info']['etemplate']['hooked'] = True; + etemplate::$hooked = true; $this->index(0,$app,$args[$view_id],array( 'menuaction' => $view, isset($view_id2) ? $view_id2 : $view_id => $args[$view_id] ),True); - unset($GLOBALS['egw_info']['etemplate']['hooked']); + etemplate::$hooked = false; } /**