CustomVariableNull: store to db as json
This commit is contained in:
parent
c9c960d86a
commit
353427fa1a
library/Director/CustomVariable
|
@ -17,6 +17,11 @@ class CustomVariableNull extends CustomVariable
|
|||
return null;
|
||||
}
|
||||
|
||||
public function getDbFormat()
|
||||
{
|
||||
return 'json';
|
||||
}
|
||||
|
||||
public function setValue($value)
|
||||
{
|
||||
if (! is_null($value)) {
|
||||
|
|
Loading…
Reference in New Issue