diff --git a/htdocs/societe/class/societe.class.php b/htdocs/societe/class/societe.class.php index 28b38702fb9cd2666e046e00afcafeed22a13f1c..dfeec3eaab7b3abe530b0016961185336e1d7820 100644 --- a/htdocs/societe/class/societe.class.php +++ b/htdocs/societe/class/societe.class.php @@ -857,6 +857,7 @@ class Societe extends CommonObject // Retreive all extrafield for thirdparty // fetch optionals attributes and labels + require_once(DOL_DOCUMENT_ROOT.'/core/class/extrafields.class.php'); $extrafields=new ExtraFields($this->db); $extralabels=$extrafields->fetch_name_optionals_label('company',true); if (count($extralabels)>0) {