use only 1 if
This commit is contained in:
parent
28fa0e4e5d
commit
83f3c9ab6e
@ -1178,8 +1178,7 @@ if (empty($reshook))
|
||||
|
||||
for ($i = 0; $i < $num; $i++)
|
||||
{
|
||||
if (!in_array($lines[$i]->id, $selectedLines)) continue;
|
||||
if (empty($lines[$i]->subprice) || $lines[$i]->qty <= 0)
|
||||
if (empty($lines[$i]->subprice) || $lines[$i]->qty <= 0 || !in_array($lines[$i]->id, $selectedLines))
|
||||
continue;
|
||||
|
||||
$label = (!empty($lines[$i]->label) ? $lines[$i]->label : '');
|
||||
|
||||
Loading…
Reference in New Issue
Block a user