Skip to content
Snippets Groups Projects
Commit 2ec4c56f authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Merge pull request #1640 from FHenry/3.5

3.5
parents 768163c6 ebe49b05
Branches
Tags
No related merge requests found
......@@ -329,7 +329,7 @@ class modSociete extends DolibarrModules
unset($this->export_entities_array[$r]['s.code_fournisseur']);
}
// Add extra fields
$sql="SELECT name, label FROM ".MAIN_DB_PREFIX."extrafields WHERE elementtype = 'socpeople'";
$sql="SELECT name, label, type, param FROM ".MAIN_DB_PREFIX."extrafields WHERE elementtype = 'socpeople'";
$resql=$this->db->query($sql);
if ($resql) // This can fail when class is used on old database (during migration for example)
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment