Merge pull request #2906 from atm-ph/fix_37_fetch_contact

FIX : Compare array_options with oldcopy
This commit is contained in:
Laurent Destailleur 2015-05-29 17:41:38 +02:00
commit 2fb44caedb

View File

@ -628,6 +628,13 @@ class Contact extends CommonObject
}
}
// Retreive all extrafield for contact
// 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($this->table_element,true);
$this->fetch_optionals($this->id,$extralabels);
return 1;
}
else