@@ -138,7 +138,7 @@ |
||
| 138 | 138 | { |
| 139 | 139 | $db->stmt()->update( $table )->set( $colname, '?' ) |
| 140 | 140 | ->where( $colname . ' = ?' )->orWhere( $colname . " = ''" ) |
| 141 | - ->setParameters( [$site, $siteid ] ) |
|
| 141 | + ->setParameters( [$site, $siteid] ) |
|
| 142 | 142 | ->execute(); |
| 143 | 143 | } |
| 144 | 144 | } |
@@ -158,7 +158,7 @@ |
||
| 158 | 158 | $table->string( 'name' ); |
| 159 | 159 | $table->string( 'mediaurl' ); |
| 160 | 160 | $table->string( 'currencyid', 3 ); |
| 161 | - $table->decimal( 'price', 12)->null( true ); |
|
| 161 | + $table->decimal( 'price', 12 )->null( true ); |
|
| 162 | 162 | $table->decimal( 'costs', 12 ); |
| 163 | 163 | $table->decimal( 'rebate', 12 ); |
| 164 | 164 | $table->decimal( 'tax', 14, 4 ); |
@@ -165,7 +165,7 @@ |
||
| 165 | 165 | $manager = \Aimeos\MShop::create( $context, 'attribute' ); |
| 166 | 166 | $refItem = $manager->find( $refItem->getCode(), [], $domain, $refItem->getType() ); |
| 167 | 167 | } |
| 168 | - catch( \RuntimeException $e ) { ; } // attribute doesn't exist yet |
|
| 168 | + catch( \RuntimeException $e ) {; } // attribute doesn't exist yet |
|
| 169 | 169 | |
| 170 | 170 | $refItem = $this->addRefItems( $refItem, $data ); |
| 171 | 171 | $item->addListItem( 'attribute', $listItem, $refItem ); |
@@ -165,7 +165,9 @@ |
||
| 165 | 165 | $manager = \Aimeos\MShop::create( $context, 'attribute' ); |
| 166 | 166 | $refItem = $manager->find( $refItem->getCode(), [], $domain, $refItem->getType() ); |
| 167 | 167 | } |
| 168 | - catch( \RuntimeException $e ) { ; } // attribute doesn't exist yet |
|
| 168 | + catch( \RuntimeException $e ) |
|
| 169 | + { |
|
| 170 | +; } // attribute doesn't exist yet |
|
| 169 | 171 | |
| 170 | 172 | $refItem = $this->addRefItems( $refItem, $data ); |
| 171 | 173 | $item->addListItem( 'attribute', $listItem, $refItem ); |