Passed
Push — master ( 966a4a...22e811 )
by Aimeos
03:39
created
client/html/templates/common/summary/detail-standard.php 1 patch
Braces   +10 added lines, -4 removed lines patch added patch discarded remove patch
@@ -250,9 +250,12 @@  discard block
 block discarded – undo
250 250
 							<?php if( $product->getQuantity() > 1 ) : ?>
251 251
 								<?php $basketParams = array( 'b_action' => 'edit', 'b_position' => $position, 'b_quantity' => $product->getQuantity() - 1 ); ?>
252 252
 								<a class="minibutton change" href="<?= $enc->attr( $this->link( 'client/html/basket/standard/url', $basketParams ) ); ?>">−</a>
253
-							<?php else : ?>
253
+							<?php else {
254
+	: ?>
254 255
 								&nbsp;
255
-							<?php endif; ?>
256
+							<?php endif;
257
+}
258
+?>
256 259
 
257 260
 							<input class="value" type="text"
258 261
 								name="<?= $enc->attr( $this->formparam( array( 'b_prod', $position, 'quantity' ) ) ); ?>"
@@ -266,8 +269,11 @@  discard block
 block discarded – undo
266 269
 							<?php $basketParams = array( 'b_action' => 'edit', 'b_position' => $position, 'b_quantity' => $product->getQuantity() + 1 ); ?>
267 270
 							<a class="minibutton change" href="<?= $enc->attr( $this->link( 'client/html/basket/standard/url', $basketParams ) ); ?>">+</a>
268 271
 
269
-						<?php else : ?>
270
-							<?= $enc->html( $product->getQuantity() ); ?>
272
+						<?php else {
273
+	: ?>
274
+							<?= $enc->html( $product->getQuantity() );
275
+}
276
+?>
271 277
 						<?php endif; ?>
272 278
 					</td>
273 279
 
Please login to merge, or discard this patch.