Fixing style errors.

This commit is contained in:
stickler-ci 2020-09-29 13:06:23 +00:00
parent c8e11f9eae
commit ce8d240d8f

View File

@ -181,7 +181,7 @@ foreach ($object->fields as $key => $val) {
// Visibility based on global settings
if ($key == 'rowid' && !empty($conf->global->MAIN_SHOW_TECHNICAL_ID)) continue;
if ($key == 'no_email' && empty($conf->mailing->enabled)) continue;
$arrayfields['p.'.$key] = array(
'label'=>$val['label'],
'checked'=>(($val['visible'] < 0) ? 0 : 1),