mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 16:48:49 +01:00
allow null as value in assign()
This commit is contained in:
parent
da54059fd1
commit
3dfa4e5fe6
@ -327,7 +327,7 @@ class egw_json_response
|
||||
*/
|
||||
public function assign($id, $key, $value)
|
||||
{
|
||||
if (is_string($id) && is_string($key) && (is_string($value) || is_numeric($value)))
|
||||
if (is_string($id) && is_string($key) && (is_string($value) || is_numeric($value) || is_null($value)))
|
||||
{
|
||||
$this->addGeneric('assign', array(
|
||||
'id' => $id,
|
||||
|
Loading…
Reference in New Issue
Block a user