forked from extern/egroupware
Small change to properly handle setting default preferences.
This commit is contained in:
parent
f069e2fb06
commit
467ec28d2b
@ -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();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user