mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-22 05:49:03 +01:00
do not store "user_timezone_read"
This commit is contained in:
parent
9df736bafa
commit
2563177c9d
@ -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),
|
||||
|
Loading…
Reference in New Issue
Block a user