Update html.form.class.php

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

View File

@ -6034,7 +6034,8 @@ class Form
}
else
{
$objecttmp->fields['ref']=array('type'=>'varchar(30)', 'label'=>'Ref');
// For backward compatibility
$objecttmp->fields['ref']=array('type'=>'varchar(30)', 'label'=>'Ref', 'showoncombobox'=>1);
}
if (empty($fieldstoshow))