mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-28 16:24:05 +02:00
DbObjectWithSettings: make sure new ones are...
...sorted
This commit is contained in:
parent
9390a3b9ca
commit
6adc0f7632
@ -51,6 +51,8 @@ abstract class DbObjectWithSettings extends DbObject
|
||||
|
||||
public function getSettings()
|
||||
{
|
||||
// Sort them, important only for new objects
|
||||
ksort($this->settings);
|
||||
return $this->settings;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user