mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-08-19 08:48:11 +02:00
DirectorObjectForm: addd brackets to be on the...
...safe side for all PHP versions
This commit is contained in:
parent
a07983abd9
commit
271dc6add5
@ -966,7 +966,7 @@ abstract class DirectorObjectForm extends QuickForm
|
||||
return $objectProperty;
|
||||
}
|
||||
|
||||
if ($el = $this->getElement($name) && !$this->valueIsEmpty($val = $el->getValue())) {
|
||||
if (($el = $this->getElement($name)) && !$this->valueIsEmpty($val = $el->getValue())) {
|
||||
return $val;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user