@@ -381,8 +381,7 @@ |
||
| 381 | 381 | $list['product.code'] = $list['product.code'] . '_' . substr( md5( microtime( true ) ), -5 ); |
| 382 | 382 | |
| 383 | 383 | $list['stock.stocklevel'] = 0; |
| 384 | - } |
|
| 385 | - else |
|
| 384 | + } else |
|
| 386 | 385 | { |
| 387 | 386 | $list = array_merge( $list, $refItem->getStockItems( 'default' )->first( map() )->toArray() ); |
| 388 | 387 | } |