From 03c9a3d6cfa7e748815cd2ca386fcd58d94e84d8 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Wed, 27 Aug 2014 08:57:59 +0000 Subject: [PATCH] removed usage of removed "listNoSubs" preference, as it leads to empty sub-view, if preference was set --- infolog/inc/class.infolog_so.inc.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/infolog/inc/class.infolog_so.inc.php b/infolog/inc/class.infolog_so.inc.php index 7fcc1a1274..9418af50e9 100644 --- a/infolog/inc/class.infolog_so.inc.php +++ b/infolog/inc/class.infolog_so.inc.php @@ -838,8 +838,7 @@ class infolog_so } $pid = 'AND ' . $this->db->expression($this->info_table,array('info_id_parent' => ($action == 'sp' ?$query['action_id'] : 0))); - if (!$GLOBALS['egw_info']['user']['preferences']['infolog']['listNoSubs'] && $action != 'sp' || - isset($query['subs']) && $query['subs'] || $action != 'sp' && !empty($query['search'])) + if ($action != 'sp' || isset($query['subs']) && $query['subs'] || $action != 'sp' && !empty($query['search'])) { $pid = ''; }