mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-13 03:12:35 +01:00
Keep compatibility with old object declaration
This commit is contained in:
@@ -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'])) {
|
||||
|
||||
Reference in New Issue
Block a user