From 3a2d147bb002110715e2bddb9a961896caca73bd Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Wed, 5 Nov 2003 16:44:56 +0000 Subject: [PATCH] register globals fix: List no sub-entrys from the prefs is working again --- infolog/inc/class.soinfolog.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infolog/inc/class.soinfolog.inc.php b/infolog/inc/class.soinfolog.inc.php index 6b0febc652..0686a31241 100644 --- a/infolog/inc/class.soinfolog.inc.php +++ b/infolog/inc/class.soinfolog.inc.php @@ -504,7 +504,7 @@ } $pid = 'AND info_id_parent='.($action == 'sp' ? $action_id : 0); - if (!$phpgw_info['user']['preferences']['infolog']['listNoSubs'] && + if (!$GLOBALS['phpgw_info']['user']['preferences']['infolog']['listNoSubs'] && $action != 'sp') { $pid = '';