CustomVariable: fix boolean condition

This commit is contained in:
Thomas Gelf 2015-11-09 18:29:19 +01:00
parent 180b3384ed
commit bff5d328c2
1 changed files with 1 additions and 1 deletions

View File

@ -143,7 +143,7 @@ abstract class CustomVariable implements IcingaConfigRenderer
} elseif (is_array($value)) {
foreach (array_keys($value) as $k) {
if (! is_int($k) || ctype_digit($k)) {
if (! (is_int($k) || ctype_digit($k))) {
return new CustomVariableDictionary($key, $value);
}
}