add parthesis for better readability

This commit is contained in:
Uwe Steinmann 2026-01-05 16:32:05 +01:00
parent 6bd28191d4
commit 25adcfe5bd

View File

@ -885,7 +885,7 @@ class Settings { /* {{{ */
$disabled = strval($tmp['disable']);
else
$disabled = 0;
$this->_extensions[$extname]['__disable__'] = $disabled=='1' || $disabled == 'true' ? true : false;
$this->_extensions[$extname]['__disable__'] = ($disabled=='1' || $disabled == 'true') ? true : false;
foreach($extension->children() as $parameter) {
$tmp2 = $parameter->attributes();
/* Do not read a parameter with the same name. Just a pre caution */