@@ -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; |
@@ -333,7 +333,7 @@ |
||
333 | 333 | |
334 | 334 | $filepath = 'aimeos/' . $siteId . '/logo' . $w . '.' . $ext; |
335 | 335 | $context->getFilesystemManager()->get( 'fs-media' )->write( $filepath, $image->scale( $w, $h )->save() ); |
336 | - $filepaths[(int) $w?:1] = $filepath; |
|
336 | + $filepaths[(int) $w ?: 1] = $filepath; |
|
337 | 337 | } |
338 | 338 | |
339 | 339 | $item->setLogos( $filepaths ); |