Small fixes for the addressbook preferences. It wasn't saving users choice of mainscreen_showbirthdays.

This commit is contained in:
skeeter 2001-10-21 10:51:32 +00:00
parent dab358dfa5
commit a446455ca4

View File

@ -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');