Fix phpcs

This commit is contained in:
Laurent Destailleur 2020-01-25 14:40:16 +01:00
parent 08d8670bb3
commit 06731bdd59
3 changed files with 7 additions and 7 deletions

View File

@ -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]))