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()) {
|
} elseif ($var->hasBeenModified()) {
|
||||||
$db->update(
|
$db->update(
|
||||||
$table,
|
$table,
|
||||||
array('varvalue' => $var->getDbValue()),
|
array(
|
||||||
|
'varvalue' => $var->getDbValue(),
|
||||||
|
'format' => $var->getDbFormat()
|
||||||
|
),
|
||||||
$where
|
$where
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue