FIX : export extrafields must not include separe type

This commit is contained in:
florian HENRY 2016-12-02 12:02:08 +01:00
parent 191474a5db
commit de5ad57af4

View File

@ -15,6 +15,7 @@ if ($resql) // This can fail when class is used on old database (during migra
{ {
while ($obj=$this->db->fetch_object($resql)) while ($obj=$this->db->fetch_object($resql))
{ {
if ($obj->type!='separate') {
$fieldname=$keyforaliasextra.'.'.$obj->name; $fieldname=$keyforaliasextra.'.'.$obj->name;
$fieldlabel=ucfirst($obj->label); $fieldlabel=ucfirst($obj->label);
$typeFilter="Text"; $typeFilter="Text";
@ -47,4 +48,5 @@ if ($resql) // This can fail when class is used on old database (during migra
$this->export_entities_array[$r][$fieldname]=$keyforelement; $this->export_entities_array[$r][$fieldname]=$keyforelement;
} }
} }
}
// End add axtra fields // End add axtra fields