CustomVariableNull: store to db as json

This commit is contained in:
Thomas Gelf 2015-10-28 22:24:34 +01:00
parent c9c960d86a
commit 353427fa1a
1 changed files with 5 additions and 0 deletions
library/Director/CustomVariable

View File

@ -17,6 +17,11 @@ class CustomVariableNull extends CustomVariable
return null;
}
public function getDbFormat()
{
return 'json';
}
public function setValue($value)
{
if (! is_null($value)) {