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

fix : ressource extrafield in list

parent f0ba5cdb
No related branches found
No related tags found
No related merge requests found
......@@ -460,7 +460,7 @@ class Dolresource extends CommonObject
$extrafields=new ExtraFields($this->db);
$extralabels=$extrafields->fetch_name_optionals_label($this->table_element,true);
if (is_array($extralabels) && count($extralabels)>0) {
foreach($extralabels as $label=>$code) {
foreach($extralabels as $code=>$label) {
$sql.= " ef.".$code." as extra_".$code.",";
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment