Fixing style errors.
This commit is contained in:
parent
c8e11f9eae
commit
ce8d240d8f
@ -181,7 +181,7 @@ foreach ($object->fields as $key => $val) {
|
|||||||
// Visibility based on global settings
|
// Visibility based on global settings
|
||||||
if ($key == 'rowid' && !empty($conf->global->MAIN_SHOW_TECHNICAL_ID)) continue;
|
if ($key == 'rowid' && !empty($conf->global->MAIN_SHOW_TECHNICAL_ID)) continue;
|
||||||
if ($key == 'no_email' && empty($conf->mailing->enabled)) continue;
|
if ($key == 'no_email' && empty($conf->mailing->enabled)) continue;
|
||||||
|
|
||||||
$arrayfields['p.'.$key] = array(
|
$arrayfields['p.'.$key] = array(
|
||||||
'label'=>$val['label'],
|
'label'=>$val['label'],
|
||||||
'checked'=>(($val['visible'] < 0) ? 0 : 1),
|
'checked'=>(($val['visible'] < 0) ? 0 : 1),
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user