mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-31 01:34:12 +02:00
parent
788fb452cd
commit
35318396e8
@ -12,6 +12,7 @@ before switching to a new version.
|
|||||||
|
|
||||||
### User Interface
|
### User Interface
|
||||||
* FIX: restoring a basket fails when there is only one configured DB (#1716)
|
* FIX: restoring a basket fails when there is only one configured DB (#1716)
|
||||||
|
* FIX: creating a new Basket with a "Custom Selection" failed with an error (#1733)
|
||||||
|
|
||||||
|
|
||||||
1.6.0
|
1.6.0
|
||||||
|
@ -145,7 +145,7 @@ class Basket extends DbObject implements ExportInterface
|
|||||||
} elseif ($objects === null || $objects === 'IGNORE') {
|
} elseif ($objects === null || $objects === 'IGNORE') {
|
||||||
return;
|
return;
|
||||||
} elseif ($objects === '[]' || is_array($objects)) {
|
} elseif ($objects === '[]' || is_array($objects)) {
|
||||||
if (! is_array($this->chosenObjects[$type])) {
|
if (! isset($this->chosenObjects[$type]) || ! is_array($this->chosenObjects[$type])) {
|
||||||
$this->chosenObjects[$type] = [];
|
$this->chosenObjects[$type] = [];
|
||||||
}
|
}
|
||||||
if (isset($this->protectedFormerChosenObjects[$type])) {
|
if (isset($this->protectedFormerChosenObjects[$type])) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user