db-prefs: add fix for USER_TIMEZONE default value

master
Andrew Dolgov 14 years ago
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…
Cancel
Save