@@ -109,9 +109,13 @@ |
||
109 | 109 | $this->context()->setLocale( $localeManager->create()->setSiteId( $siteIds[$dataset['site']]['site'] ) ); |
110 | 110 | $item = $localeManager->create()->fromArray( $dataset, true ); |
111 | 111 | |
112 | - try { |
|
112 | + try |
|
113 | + { |
|
113 | 114 | $localeManager->save( $item ); |
114 | - } catch( \Aimeos\Base\DB\Exception $e ) { ; } // if locale combination was already available |
|
115 | + } |
|
116 | + catch( \Aimeos\Base\DB\Exception $e ) |
|
117 | + { |
|
118 | +; } // if locale combination was already available |
|
115 | 119 | } |
116 | 120 | } |
117 | 121 | } |