Skip to content
Snippets Groups Projects
Commit ec5a094d authored by florian HENRY's avatar florian HENRY
Browse files

FIX : Do not include separate extrafields into export cause "separate"

extrafields aren't sql column
parent 612c7fde
Branches
Tags
No related merge requests found
...@@ -42,9 +42,11 @@ if ($resql) // This can fail when class is used on old database (during migra ...@@ -42,9 +42,11 @@ if ($resql) // This can fail when class is used on old database (during migra
if (preg_match('/[a-z0-9_]+:[a-z0-9_]+:[a-z0-9_]+/', $tmp)) $typeFilter="List:".$tmp; if (preg_match('/[a-z0-9_]+:[a-z0-9_]+:[a-z0-9_]+/', $tmp)) $typeFilter="List:".$tmp;
break; break;
} }
if ($obj->type!='separate') {
$this->export_fields_array[$r][$fieldname]=$fieldlabel; $this->export_fields_array[$r][$fieldname]=$fieldlabel;
$this->export_TypeFields_array[$r][$fieldname]=$typeFilter; $this->export_TypeFields_array[$r][$fieldname]=$typeFilter;
$this->export_entities_array[$r][$fieldname]=$keyforelement; $this->export_entities_array[$r][$fieldname]=$keyforelement;
} }
} }
}
// End add axtra fields // End add axtra fields
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment