Passed
Push — master ( 27156d...cd077a )
by Aimeos
06:34 queued 03:48
created
templates/client/html/catalog/detail/header.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
46 46
 		<meta property="og:title" content="<?= $enc->attr( strip_tags( $this->detailProductItem->getName() ) ) ?>">
47 47
 		<meta property="og:url" content="<?= $enc->attr( $this->url( $this->detailProductItem->getTarget() ?: $detailTarget, $detailController, $detailAction, $params, [], $detailConfig + ['absoluteUri' => true] ) ) ?>">
48 48
 
49
-		<?php if( $mediaItem = $this->detailProductItem->getRefItems( 'media', 'default', 'default' )->first()  ) : ?>
49
+		<?php if( $mediaItem = $this->detailProductItem->getRefItems( 'media', 'default', 'default' )->first() ) : ?>
50 50
 			<meta property="og:image" content="<?= $enc->attr( $this->content( $mediaItem->getPreview( true ), $mediaItem->getFileSystem() ) ) ?>">
51 51
 			<meta name="twitter:card" content="summary_large_image">
52 52
 		<?php endif ?>
Please login to merge, or discard this patch.