summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--db-prefs.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/db-prefs.php b/db-prefs.php
index af187df1b..cc2bb22e2 100644
--- a/db-prefs.php
+++ b/db-prefs.php
@@ -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