Fix missing include
This commit is contained in:
parent
1c705dc678
commit
da442b67ce
1 changed files with 1 additions and 0 deletions
|
|
@ -1758,6 +1758,7 @@ abstract class CommonDocGenerator
|
|||
|
||||
// Load extrafields if not already done
|
||||
if (is_null($this->extrafieldsCache)) {
|
||||
include_once DOL_DOCUMENT_ROOT.'/core/class/extrafields.class.php';
|
||||
$this->extrafieldsCache = new ExtraFields($this->db);
|
||||
}
|
||||
if (empty($this->extrafieldsCache->attributes[$object->table_element])) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue