register globals fix: List no sub-entrys from the prefs is working again

This commit is contained in:
Ralf Becker 2003-11-05 16:44:56 +00:00
parent b9f26e9216
commit 3a2d147bb0

View File

@ -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 = '';