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

Merge pull request #4262 from atm-ph/fix_3.8_create_order_from_propal

FIX label of line is set in description field if empty
parents eaacfabd c215898c
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.
Finish editing this message first!
Please register or to comment