From cb94372bd59ac63b01e36b3044e7320c5fc93937 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Tue, 5 Feb 2013 11:47:32 +0000 Subject: [PATCH] fixed switching back to addressbook "all" does sometimes fail --- addressbook/inc/class.addressbook_ui.inc.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/addressbook/inc/class.addressbook_ui.inc.php b/addressbook/inc/class.addressbook_ui.inc.php index 4bd339191a..153e970272 100644 --- a/addressbook/inc/class.addressbook_ui.inc.php +++ b/addressbook/inc/class.addressbook_ui.inc.php @@ -1184,6 +1184,11 @@ class addressbook_ui extends addressbook_bo $query['col_filter']['private'] = substr($query['filter'],-1) == 'p' ? 1 : 0; } } + else + { + unset($query['col_filter']['owner']); + unset($query['col_filter']['private']); + } if ((int)$query['filter2']) // not no distribution list { $query['col_filter']['list'] = (string) (int) $query['filter2'];