mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-28 16:24:05 +02:00
IcingaObjectLegacyAssignments: Fix incorrect if condition
This commit is contained in:
parent
bb8076a09d
commit
c9e78ba7d5
@ -36,7 +36,7 @@ class IcingaObjectLegacyAssignments
|
||||
$assigns = array();
|
||||
$ignores = array();
|
||||
foreach ($values as $type => $value) {
|
||||
if (strpos($value, '|') !== false || strpos($value, '&' !== false)) {
|
||||
if (strpos($value, '|') !== false || strpos($value, '&') !== false) {
|
||||
$value = '(' . $value . ')';
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user