CustomVariable: store format on modification
This commit is contained in:
parent
0c3e316bb9
commit
f81f6167d5
|
@ -148,7 +148,10 @@ class CustomVariables implements Iterator, Countable, IcingaConfigRenderer
|
|||
} elseif ($var->hasBeenModified()) {
|
||||
$db->update(
|
||||
$table,
|
||||
array('varvalue' => $var->getDbValue()),
|
||||
array(
|
||||
'varvalue' => $var->getDbValue(),
|
||||
'format' => $var->getDbFormat()
|
||||
),
|
||||
$where
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue