Fix missing include

This commit is contained in:
Laurent Destailleur 2026-07-28 17:47:15 +02:00
parent 1c705dc678
commit da442b67ce

View file

@ -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])) {