db-prefs: add fix for USER_TIMEZONE default value
This commit is contained in:
parent
6b32516bd0
commit
ec39f07a84
|
@ -121,6 +121,10 @@
|
|||
$value = 30;
|
||||
}
|
||||
|
||||
if ($key == 'USER_TIMEZONE' && $value == '') {
|
||||
$value = 'UTC';
|
||||
}
|
||||
|
||||
db_query($link, "UPDATE ttrss_user_prefs SET
|
||||
value = '$value' WHERE pref_name = '$key'
|
||||
$profile_qpart
|
||||
|
|
Loading…
Reference in New Issue