DirectorObjectForm: addd brackets to be on the...

...safe side for all PHP versions
This commit is contained in:
Thomas Gelf 2016-06-16 17:00:09 +02:00
parent a07983abd9
commit 271dc6add5

View File

@ -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;
}