mirror of
https://git.tt-rss.org/fox/tt-rss.git
synced 2025-08-12 00:57:25 +02:00
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
Block a user