@@ -285,7 +285,7 @@ |
||
285 | 285 | $manager = \Aimeos\MShop::create( $context, 'index' ); |
286 | 286 | |
287 | 287 | $search = $manager->createSearch(); |
288 | - $search->setSortations( [$search->sort( '+', 'product.id')] ); |
|
288 | + $search->setSortations( [$search->sort( '+', 'product.id' )] ); |
|
289 | 289 | $search = $this->initCriteria( $search, $params ); |
290 | 290 | |
291 | 291 | $view->items = $manager->searchItems( $search, array_diff( $this->getDomains(), ['product'] ), $total ); |
@@ -416,7 +416,7 @@ |
||
416 | 416 | |
417 | 417 | if( $file && $file->getError() !== UPLOAD_ERR_NO_FILE ) { |
418 | 418 | $refItem = $cntl->add( $refItem, $file ); |
419 | - } elseif ( $refItem->getId() === null && $refItem->getUrl() !== '' ) { |
|
419 | + } elseif( $refItem->getId() === null && $refItem->getUrl() !== '' ) { |
|
420 | 420 | $refItem = $cntl->copy( $refItem ); |
421 | 421 | } |
422 | 422 |