Update html.form.class.php

This commit is contained in:
Laurent Destailleur 2020-04-12 16:46:21 +02:00 committed by GitHub
parent fecfe2e3a1
commit acab0200a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6034,7 +6034,7 @@ class Form
}
else
{
$fieldstoshow = 't.ref'; // Keep compatibility with old object not declare yet fields
$objecttmp->fields['ref']=array('type'=>'varchar(30)', 'label'=>'Ref');
}
if (empty($fieldstoshow))