mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 16:05:56 +00:00
db-prefs: add fix for USER_TIMEZONE default value
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user