@@ -517,8 +517,7 @@ discard block |
||
| 517 | 517 | { |
| 518 | 518 | $attrItem = $attrItems[$array['order.service.attribute.id']]; |
| 519 | 519 | unset( $attrItems[$array['order.service.attribute.id']] ); |
| 520 | - } |
|
| 521 | - else |
|
| 520 | + } else |
|
| 522 | 521 | { |
| 523 | 522 | $attrItem = $attrManager->create(); |
| 524 | 523 | } |
@@ -553,9 +552,13 @@ discard block |
||
| 553 | 552 | { |
| 554 | 553 | $manager = \Aimeos\MShop::create( $this->context(), 'customer' ); |
| 555 | 554 | |
| 556 | - try { |
|
| 555 | + try |
|
| 556 | + { |
|
| 557 | 557 | $data += $manager->get( $item->getCustomerId() )->toArray(); |
| 558 | - } catch( \Exception $e ) {}; |
|
| 558 | + } |
|
| 559 | + catch( \Exception $e ) |
|
| 560 | + { |
|
| 561 | +}; |
|
| 559 | 562 | } |
| 560 | 563 | |
| 561 | 564 | |