removed usage of removed "listNoSubs" preference, as it leads to empty sub-view, if preference was set

This commit is contained in:
Ralf Becker 2014-08-27 08:57:36 +00:00
parent 76830f71af
commit ce9599343e

View File

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