diff --git a/phpgwapi/inc/class.egw_json.inc.php b/phpgwapi/inc/class.egw_json.inc.php index 758653240c..d046ed2376 100644 --- a/phpgwapi/inc/class.egw_json.inc.php +++ b/phpgwapi/inc/class.egw_json.inc.php @@ -301,7 +301,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,