Keep compatibility with old object declaration
This commit is contained in:
parent
eb63350d55
commit
fecfe2e3a1
@ -6032,6 +6032,11 @@ class Form
|
||||
}
|
||||
if ($tmpfieldstoshow) $fieldstoshow = $tmpfieldstoshow;
|
||||
}
|
||||
else
|
||||
{
|
||||
$fieldstoshow = 't.ref'; // Keep compatibility with old object not declare yet fields
|
||||
}
|
||||
|
||||
if (empty($fieldstoshow))
|
||||
{
|
||||
if (isset($objecttmp->fields['ref'])) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user