From 2563177c9dc89ea00f64d2e0572e9e459b637cd0 Mon Sep 17 00:00:00 2001 From: ralf Date: Mon, 2 Dec 2024 16:48:58 +0100 Subject: [PATCH] do not store "user_timezone_read" --- api/src/Storage/Json.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/src/Storage/Json.php b/api/src/Storage/Json.php index 3b943b7aff..99eb37a81a 100644 --- a/api/src/Storage/Json.php +++ b/api/src/Storage/Json.php @@ -137,7 +137,7 @@ class Json extends Base $data = &$this->data; } // json-encode non db columns into ths json blob - if ($this->json_column && is_array($data) && ($json = array_diff_key($data, array_flip($this->db_cols)))) + if ($this->json_column && is_array($data) && ($json = array_diff_key($data, array_flip($this->db_cols+[self::USER_TIMEZONE_READ])))) { $data = [ $this->json_column => json_encode($json, JSON_UNESCAPED_SLASHES|JSON_THROW_ON_ERROR),