Passed
Push — master ( 632ea0...2ab9d5 )
by Aimeos
02:20
created
templates/client/html/common/partials/attribute.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -166,7 +166,8 @@  discard block
 block discarded – undo
166 166
 
167 167
 						</ul>
168 168
 
169
-					<?php else : ?>
169
+					<?php else {
170
+	: ?>
170 171
 
171 172
 						<input type="hidden" value="1" name="<?= $enc->attr( $this->formparam( ['b_prod', 0, 'attrconfid', 'qty', ''] ) ) ?>">
172 173
 						<select id="select-<?= $enc->attr( $key ) ?>" class="form-control select-list"
@@ -222,7 +223,9 @@  discard block
 block discarded – undo
222 223
 								value="<?= $enc->attr( $price->getValue() ) ?>"
223 224
 							<?php endif ?>
224 225
 						>
225
-					<?php break; case 'date': ?>
226
+					<?php break;
227
+}
228
+case 'date': ?>
226 229
 						<input id="select-<?= $enc->attr( $key ) ?>" class="form-control" type="date" name="<?= $enc->attr( $this->formparam( ['b_prod', 0, 'attrcustid', $id] ) ) ?>">
227 230
 					<?php break; default: ?>
228 231
 						<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.