Passed
Push — master ( 355bf1...b1348b )
by Aimeos
02:43
created
templates/client/html/common/partials/attribute.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -152,7 +152,8 @@  discard block
 block discarded – undo
152 152
 
153 153
 					</ul>
154 154
 
155
-				<?php else : ?>
155
+				<?php else {
156
+	: ?>
156 157
 
157 158
 					<input type="hidden" value="1" name="<?= $enc->attr( $this->formparam( ['b_prod', 0, 'attrconfid', 'qty', ''] ) ) ?>">
158 159
 					<select id="select-<?= $enc->attr( $key ) ?>" class="form-control select-list"
@@ -204,7 +205,9 @@  discard block
 block discarded – undo
204 205
 							value="<?= $enc->attr( $price->getValue() ) ?>"
205 206
 						<?php endif ?>
206 207
 					>
207
-				<?php break; case 'date': ?>
208
+				<?php break;
209
+}
210
+case 'date': ?>
208 211
 					<input id="select-<?= $enc->attr( $key ) ?>" class="form-control" type="date" name="<?= $enc->attr( $this->formparam( ['b_prod', 0, 'attrcustid', $id] ) ) ?>">
209 212
 				<?php break; default: ?>
210 213
 					<input id="select-<?= $enc->attr( $key ) ?>" class="form-control" type="text" name="<?= $enc->attr( $this->formparam( ['b_prod', 0, 'attrcustid', $id] ) ) ?>">
Please login to merge, or discard this patch.