mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-31 01:34:12 +02:00
CustomVariableNull: store to db as json
This commit is contained in:
parent
c9c960d86a
commit
353427fa1a
@ -17,6 +17,11 @@ class CustomVariableNull extends CustomVariable
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function getDbFormat()
|
||||||
|
{
|
||||||
|
return 'json';
|
||||||
|
}
|
||||||
|
|
||||||
public function setValue($value)
|
public function setValue($value)
|
||||||
{
|
{
|
||||||
if (! is_null($value)) {
|
if (! is_null($value)) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user