From 4f5b636cc74cee609eccd7b3d7452ffc9355934b Mon Sep 17 00:00:00 2001
From: jfefe <jfefe@aternatik.fr>
Date: Sat, 16 Feb 2013 13:58:21 +0100
Subject: [PATCH] Fix : missing class file

---
 htdocs/societe/class/societe.class.php | 1 +
 1 file changed, 1 insertion(+)

diff --git a/htdocs/societe/class/societe.class.php b/htdocs/societe/class/societe.class.php
index 28b38702fb9..dfeec3eaab7 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) {
-- 
GitLab