Skip to content
Snippets Groups Projects
Commit c215898c authored by Phf's avatar Phf
Browse files

FIX label of line is set in description field if empty

parent 452feca6
No related branches found
No related tags found
No related merge requests found
......@@ -324,7 +324,7 @@ if (empty($reshook))
for($i = 0; $i < $num; $i ++)
{
$label = (! empty($lines[$i]->label) ? $lines[$i]->label : '');
$desc = (! empty($lines[$i]->desc) ? $lines[$i]->desc : $lines[$i]->libelle);
$desc = (! empty($lines[$i]->desc) ? $lines[$i]->desc : '');
$product_type = (! empty($lines[$i]->product_type) ? $lines[$i]->product_type : 0);
// Dates
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment