From 21cdde324731798f6e0f315a2c3c720c6cf7d657 Mon Sep 17 00:00:00 2001 From: Miles Lott Date: Sun, 24 Jun 2001 01:59:56 +0000 Subject: [PATCH] Allo stray from default filter once another filter is selected --- addressbook/index.php | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/addressbook/index.php b/addressbook/index.php index 44a60c7108..23b5e6c981 100755 --- a/addressbook/index.php +++ b/addressbook/index.php @@ -117,11 +117,14 @@ if (!$filter) { - $filter = 'none'; - } - if($phpgw_info['user']['preferences']['addressbook']['default_filter']) - { - $filter = $phpgw_info['user']['preferences']['addressbook']['default_filter']; + if($phpgw_info['user']['preferences']['addressbook']['default_filter']) + { + $filter = $phpgw_info['user']['preferences']['addressbook']['default_filter']; + } + else + { + $filter = 'none'; + } } /*