mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-15 09:49:45 +01:00
do not store "user_timezone_read"
This commit is contained in:
parent
f070e3e82d
commit
899558b242
@ -137,7 +137,7 @@ class Json extends Base
|
|||||||
$data = &$this->data;
|
$data = &$this->data;
|
||||||
}
|
}
|
||||||
// json-encode non db columns into ths json blob
|
// 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 = [
|
$data = [
|
||||||
$this->json_column => json_encode($json, JSON_UNESCAPED_SLASHES|JSON_THROW_ON_ERROR),
|
$this->json_column => json_encode($json, JSON_UNESCAPED_SLASHES|JSON_THROW_ON_ERROR),
|
||||||
|
Loading…
Reference in New Issue
Block a user