1
0
Fork 0

default ajax settings after conversion

This commit is contained in:
friendica 2011-12-12 17:30:29 -08:00
parent e74a960327
commit e67f69df81

View file

@ -626,7 +626,7 @@ function settings_content(&$a) {
$suggestme = (($suggestme===false)?0:$suggestme); // default if not set: 0 $suggestme = (($suggestme===false)?0:$suggestme); // default if not set: 0
$browser_update = intval(get_pconfig(local_user(), 'system','update_interval')); $browser_update = intval(get_pconfig(local_user(), 'system','update_interval'));
$browser_update = (($browser_update===false)? 40 : $browser_update / 1000); // default if not set: 40 seconds $browser_update = (($browser_update == 0) ? 40 : $browser_update / 1000); // default if not set: 40 seconds
if(! strlen($a->user['timezone'])) if(! strlen($a->user['timezone']))
$timezone = date_default_timezone_get(); $timezone = date_default_timezone_get();