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