Update card.php

This commit is contained in:
Laurent Destailleur 2018-04-27 12:14:51 +02:00 committed by GitHub
parent 53ce297ab3
commit 4c87cbf644
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1050,7 +1050,7 @@ if (empty($reshook))
if (empty($lines[$i]->subprice) || $lines[$i]->qty <= 0)
continue;
$label = (! empty($lines[$i]->label) ? $lines[$i]->label : $lines[$i]->product_label);
$label = (! empty($lines[$i]->label) ? $lines[$i]->label : '');
$desc = (! empty($lines[$i]->desc) ? $lines[$i]->desc : $lines[$i]->product_desc);
$product_type = (! empty($lines[$i]->product_type) ? $lines[$i]->product_type : 0);