@@ -87,7 +87,9 @@ |
||
| 87 | 87 | $return ++; |
| 88 | 88 | } elseif ((int) $line->fk_product > 0) { |
| 89 | 89 | if ($product->fetch($line->fk_product) > 0) { |
| 90 | - if ($product->status_buy) $return ++; |
|
| 90 | + if ($product->status_buy) { |
|
| 91 | + $return ++; |
|
| 92 | + } |
|
| 91 | 93 | } |
| 92 | 94 | } |
| 93 | 95 | } |