Passed
Push — master ( ab890c...af91b1 )
by Aimeos
02:26
created
templates/client/html/common/partials/attribute.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -159,7 +159,8 @@  discard block
 block discarded – undo
159 159
 
160 160
 					</ul>
161 161
 
162
-				<?php else : ?>
162
+				<?php else {
163
+	: ?>
163 164
 
164 165
 					<input type="hidden" value="1" name="<?= $enc->attr( $this->formparam( ['b_prod', 0, 'attrconfid', 'qty', ''] ) ) ?>">
165 166
 					<select id="select-<?= $enc->attr( $key ) ?>" class="form-select select-list"
@@ -211,7 +212,9 @@  discard block
 block discarded – undo
211 212
 							value="<?= $enc->attr( $price->getValue() ) ?>"
212 213
 						<?php endif ?>
213 214
 					>
214
-				<?php break; case 'date': ?>
215
+				<?php break;
216
+}
217
+case 'date': ?>
215 218
 					<input id="select-<?= $enc->attr( $key ) ?>" class="form-control" type="date" name="<?= $enc->attr( $this->formparam( ['b_prod', 0, 'attrcustid', $id] ) ) ?>">
216 219
 				<?php break; default: ?>
217 220
 					<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.