Small change to properly handle setting default preferences.

This commit is contained in:
skeeter 2001-06-22 01:01:23 +00:00
parent f069e2fb06
commit 467ec28d2b

View File

@ -71,7 +71,7 @@
if(!isset($phpgw_info['user']['preferences']['calendar']['weekdaystarts']))
{
$phpgw_info['user']['preferences']['calendar']['weekdaystarts'] = 'Sunday';
$phpgw->preferences->add('calendar','weekdaystarts','Sunday');
$phpgw->preferences->save_repository();
}