mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-31 01:34:12 +02:00
CustomVariables: sort variables when rendering
Order was formerly database-dependent
This commit is contained in:
parent
f36e57eb46
commit
757de240ed
@ -220,6 +220,7 @@ class CustomVariables implements Iterator, Countable, IcingaConfigRenderer
|
||||
{
|
||||
$out = '';
|
||||
|
||||
ksort($this->vars);
|
||||
foreach ($this->vars as $key => $var) {
|
||||
$out .= c::renderKeyValue(
|
||||
'vars.' . c::escapeIfReserved($key),
|
||||
|
Loading…
x
Reference in New Issue
Block a user