Merge pull request #2468 from defrance69/patch-55
Update extrafields.class.php
This commit is contained in:
commit
87faf530e0
@ -567,10 +567,12 @@ class ExtraFields
|
||||
{
|
||||
global $conf;
|
||||
|
||||
if ( empty($elementtype) ) return array();
|
||||
|
||||
if ($elementtype == 'thirdparty') $elementtype='societe';
|
||||
|
||||
$array_name_label=array();
|
||||
|
||||
|
||||
// For avoid conflicts with external modules
|
||||
if (!$forceload && !empty($conf->global->MAIN_EXTRAFIELDS_DISABLED)) return $array_name_label;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user