From a446455ca4bd2414a332f1073ddcfa8b91ecfc15 Mon Sep 17 00:00:00 2001 From: skeeter Date: Sun, 21 Oct 2001 10:51:32 +0000 Subject: [PATCH] Small fixes for the addressbook preferences. It wasn't saving users choice of mainscreen_showbirthdays. --- addressbook/inc/class.boaddressbook.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/addressbook/inc/class.boaddressbook.inc.php b/addressbook/inc/class.boaddressbook.inc.php index 3bf1a40af6..fe62668f0d 100644 --- a/addressbook/inc/class.boaddressbook.inc.php +++ b/addressbook/inc/class.boaddressbook.inc.php @@ -339,13 +339,13 @@ $GLOBALS['phpgw']->preferences->delete('addressbook','mainscreen_showbirthdays'); if ($other['mainscreen_showbirthdays']) { - $GLOBALS['phpgw']->preferences->add('addressbook','mainscreen_showbirthdays'); + $GLOBALS['phpgw']->preferences->add('addressbook','mainscreen_showbirthdays',True); } $GLOBALS['phpgw']->preferences->delete('addressbook','default_filter'); if ($other['default_filter']) { - $GLOBALS['phpgw']->preferences->add('addressbook','default_filter'); + $GLOBALS['phpgw']->preferences->add('addressbook','default_filter',True); } $GLOBALS['phpgw']->preferences->delete('addressbook','autosave_category');