FIX : Access to undeclared static property: Contact::$table_element
This commit is contained in:
parent
9764af7e9c
commit
e98671e404
@ -459,7 +459,8 @@ if (!empty($conf->categorie->enabled) && $user->rights->categorie->lire) {
|
|||||||
|
|
||||||
// Standard Extrafield feature
|
// Standard Extrafield feature
|
||||||
if (empty($conf->global->MAIN_EXTRAFIELDS_DISABLED)) {
|
if (empty($conf->global->MAIN_EXTRAFIELDS_DISABLED)) {
|
||||||
$elementype = Contact::$table_element;
|
$contactstatic = new Contact($db);
|
||||||
|
$elementype = $contactstatic->table_element;
|
||||||
// fetch optionals attributes and labels
|
// fetch optionals attributes and labels
|
||||||
dol_include_once('/core/class/extrafields.class.php');
|
dol_include_once('/core/class/extrafields.class.php');
|
||||||
$extrafields = new ExtraFields($db);
|
$extrafields = new ExtraFields($db);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user