| @@ -407,7 +407,7 @@ | ||
| 407 | 407 | $data['time'] = $fs->time( $data['attribute.code'] ); | 
| 408 | 408 | $data['size'] = $fs->size( $data['attribute.code'] ); | 
| 409 | 409 | } | 
| 410 | -			catch( \Exception $e ) { ; } // Show product even if file isn't available any more | |
| 410 | +			catch( \Exception $e ) {; } // Show product even if file isn't available any more | |
| 411 | 411 | } | 
| 412 | 412 | |
| 413 | 413 | return $data; | 
| @@ -407,7 +407,9 @@ | ||
| 407 | 407 | $data['time'] = $fs->time( $data['attribute.code'] ); | 
| 408 | 408 | $data['size'] = $fs->size( $data['attribute.code'] ); | 
| 409 | 409 | } | 
| 410 | -			catch( \Exception $e ) { ; } // Show product even if file isn't available any more | |
| 410 | + catch( \Exception $e ) | |
| 411 | +			{ | |
| 412 | +; } // Show product even if file isn't available any more | |
| 411 | 413 | } | 
| 412 | 414 | |
| 413 | 415 | return $data; | 
| @@ -351,8 +351,7 @@ | ||
| 351 | 351 |  			{ | 
| 352 | 352 | $list['product.lists.siteid'] = (string) $map[$attrId]->getSiteId(); | 
| 353 | 353 | $list['product.lists.id'] = (string) $map[$attrId]->getId(); | 
| 354 | - } | |
| 355 | - else | |
| 354 | + } else | |
| 356 | 355 |  			{ | 
| 357 | 356 | $list['product.lists.siteid'] = $siteId; | 
| 358 | 357 | $list['product.lists.id'] = ''; | 
| @@ -294,8 +294,7 @@ | ||
| 294 | 294 | $propItem->setValue( $value ); | 
| 295 | 295 | |
| 296 | 296 | $item->addPropertyItem( $propItem ); | 
| 297 | - } | |
| 298 | - else | |
| 297 | + } else | |
| 299 | 298 |  			{ | 
| 300 | 299 | $item->deletePropertyItems( $propItems->toArray() ); | 
| 301 | 300 | } | 
| @@ -445,8 +445,7 @@ | ||
| 445 | 445 | $listItem = \Aimeos\MShop::create( $context, 'product' )->createListItem(); | 
| 446 | 446 | $item = $item->addListItem( 'attribute', $listItem->setType( 'custom' ), $attrItem ); | 
| 447 | 447 | } | 
| 448 | - } | |
| 449 | - else | |
| 448 | + } else | |
| 450 | 449 |  		{ | 
| 451 | 450 |  			if( ( $litem = $item->getListItem( 'attribute', 'custom', $attrItem->getId(), false ) ) !== null ) { | 
| 452 | 451 | $item = $item->deleteListItem( 'attribute', $litem ); | 
| @@ -278,8 +278,7 @@ | ||
| 278 | 278 |  				{ | 
| 279 | 279 | $propItem = $propItems[$entry['price.property.id']]; | 
| 280 | 280 | unset( $propItems[$entry['price.property.id']] ); | 
| 281 | - } | |
| 282 | - else | |
| 281 | + } else | |
| 283 | 282 |  				{ | 
| 284 | 283 | $propItem = $propManager->create(); | 
| 285 | 284 | } | 
| @@ -278,8 +278,7 @@ | ||
| 278 | 278 |  				{ | 
| 279 | 279 | $propItem = $propItems[$entry['media.property.id']]; | 
| 280 | 280 | unset( $propItems[$entry['media.property.id']] ); | 
| 281 | - } | |
| 282 | - else | |
| 281 | + } else | |
| 283 | 282 |  				{ | 
| 284 | 283 | $propItem = $propManager->create(); | 
| 285 | 284 | } | 
| @@ -271,8 +271,7 @@ | ||
| 271 | 271 |  			{ | 
| 272 | 272 | $propItem = $propItems[$entry['attribute.property.id']]; | 
| 273 | 273 | unset( $propItems[$entry['attribute.property.id']] ); | 
| 274 | - } | |
| 275 | - else | |
| 274 | + } else | |
| 276 | 275 |  			{ | 
| 277 | 276 | $propItem = $manager->create(); | 
| 278 | 277 | } | 
| @@ -454,8 +454,7 @@ | ||
| 454 | 454 |  		{ | 
| 455 | 455 | $this->checkSite( $super, $data['locale.site.id'] ); | 
| 456 | 456 | $item = $manager->get( $data['locale.site.id'] ); | 
| 457 | - } | |
| 458 | - else | |
| 457 | + } else | |
| 459 | 458 |  		{ | 
| 460 | 459 | $this->checkSite( $super ); | 
| 461 | 460 | $item = $manager->create(); | 
| @@ -271,8 +271,7 @@ | ||
| 271 | 271 |  			{ | 
| 272 | 272 | $propItem = $propItems[$entry['customer.property.id']]; | 
| 273 | 273 | unset( $propItems[$entry['customer.property.id']] ); | 
| 274 | - } | |
| 275 | - else | |
| 274 | + } else | |
| 276 | 275 |  			{ | 
| 277 | 276 | $propItem = $manager->create(); | 
| 278 | 277 | } |