@@ -533,7 +533,7 @@ |
||
533 | 533 | |
534 | 534 | foreach( $data['service'][$type][$serviceId] ?? [] as $entry ) |
535 | 535 | { |
536 | - if( !($value = $entry['order.service.attribute.value'] ?? '') ) { |
|
536 | + if( !( $value = $entry['order.service.attribute.value'] ?? '' ) ) { |
|
537 | 537 | continue; |
538 | 538 | } |
539 | 539 |
@@ -566,9 +566,13 @@ |
||
566 | 566 | |
567 | 567 | if( $item->getCustomerId() ) |
568 | 568 | { |
569 | - try { |
|
569 | + try |
|
570 | + { |
|
570 | 571 | $data += \Aimeos\MShop::create( $this->context(), 'customer' )->get( $item->getCustomerId() )->toArray(); |
571 | - } catch( \Exception $e ) {}; |
|
572 | + } |
|
573 | + catch( \Exception $e ) |
|
574 | + { |
|
575 | +}; |
|
572 | 576 | } |
573 | 577 | |
574 | 578 |