Fix phpcs
This commit is contained in:
parent
08d8670bb3
commit
06731bdd59
@ -6613,7 +6613,7 @@ abstract class CommonObject
|
|||||||
if (is_array($params) && array_key_exists('onlykey', $params) && $key != $params['onlykey']) continue;
|
if (is_array($params) && array_key_exists('onlykey', $params) && $key != $params['onlykey']) continue;
|
||||||
|
|
||||||
// @todo Add test also on 'enabled' (different than 'list' that is 'visibility')
|
// @todo Add test also on 'enabled' (different than 'list' that is 'visibility')
|
||||||
$enabled = 1;
|
//$enabled = 1;
|
||||||
|
|
||||||
$visibility = 1;
|
$visibility = 1;
|
||||||
if ($visibility && isset($extrafields->attributes[$this->table_element]['list'][$key]))
|
if ($visibility && isset($extrafields->attributes[$this->table_element]['list'][$key]))
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user