@@ -465,11 +465,11 @@ discard block |
||
| 465 | 465 | |
| 466 | 466 | $attrIds[] = \Aimeos\MShop::create( $this->getContext(), 'attribute' )->find( 'file', [], 'product', 'upload' )->getId(); |
| 467 | 467 | |
| 468 | - $fs = $this->getContext()->fs( 'fs' ); |
|
| 468 | + $fs = $this->getContext()->fs( 'fs' ); |
|
| 469 | 469 | |
| 470 | - if( !$fs->has('basket-upload' ) ) { |
|
| 471 | - $fs->mkdir( 'basket-upload' ); |
|
| 472 | - } |
|
| 470 | + if( !$fs->has('basket-upload' ) ) { |
|
| 471 | + $fs->mkdir( 'basket-upload' ); |
|
| 472 | + } |
|
| 473 | 473 | |
| 474 | 474 | $context = $this->getContext(); |
| 475 | 475 | $domains = ['attribute', 'media', 'price', 'product', 'text', 'custom']; |
@@ -496,7 +496,7 @@ discard block |
||
| 496 | 496 | $entries = (array) $view->param( 'b_prod', [] ); |
| 497 | 497 | |
| 498 | 498 | for($i = 0; $i < count($entries); ++$i) { |
| 499 | - $paths = []; |
|
| 499 | + $paths = []; |
|
| 500 | 500 | foreach ($attrIds as $attrId) { |
| 501 | 501 | if (isset($entries[$i]['attrcustid'][$attrId]) && is_array($entries[$i]['attrcustid'][$attrId])) { |
| 502 | 502 | /** @var UploadedFile $file */ |
@@ -517,7 +517,7 @@ discard block |
||
| 517 | 517 | $list[] = $entries[$i]['prodid']; |
| 518 | 518 | } |
| 519 | 519 | } |
| 520 | - } |
|
| 520 | + } |
|
| 521 | 521 | |
| 522 | 522 | foreach( $entries as $values ) |
| 523 | 523 | { |