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
This commit is contained in:
Laurent Destailleur 2015-12-18 18:21:20 +01:00
commit 1b67a9faf1

View File

@ -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