Passed
Push — master ( 0e4bb3...d970c3 )
by Aimeos
03:19
created
client/html/templates/catalog/home/body-standard.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@  discard block
 block discarded – undo
23 23
 
24 24
 		<div class="home-item <?= $enc->attr( $this->homeTree->getCode() ) ?>">
25 25
 
26
-			<?php if( !( $mediaItems = $this->homeTree->getRefItems( 'media', 'stage', 'default') )->isEmpty() ) : ?>
26
+			<?php if( !( $mediaItems = $this->homeTree->getRefItems( 'media', 'stage', 'default' ) )->isEmpty() ) : ?>
27 27
 				<div class="home-stage">
28 28
 					<?php foreach( $mediaItems as $mediaItem ) : ?>
29 29
 						<a class="stage-item" href="<?= $enc->attr( $this->link( 'client/html/catalog/lists/url', ['f_catid' => $this->homeTree->getId(), 'f_name' => $this->homeTree->getName( 'url' )] ) ) ?>">
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
 
55 55
 			<div class="home-item <?= $enc->attr( $child->getCode() ) ?>">
56 56
 
57
-				<?php if( !( $mediaItems = $child->getRefItems( 'media', 'stage', 'default') )->isEmpty() ) : ?>
57
+				<?php if( !( $mediaItems = $child->getRefItems( 'media', 'stage', 'default' ) )->isEmpty() ) : ?>
58 58
 					<div class="home-stage">
59 59
 						<?php foreach( $mediaItems as $mediaItem ) : ?>
60 60
 							<a class="stage-item" href="<?= $enc->attr( $this->link( 'client/html/catalog/lists/url', ['f_catid' => $child->getId(), 'f_name' => $child->getName( 'url' )] ) ) ?>">
Please login to merge, or discard this patch.