Merge branch 'extra_odt' into fgd

This commit is contained in:
jfefe 2013-02-16 13:59:00 +01:00
commit b9caff8dd0

View File

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