Passed
Push — master ( ae2cd9...fbe1d2 )
by Aimeos
03:33
created
admin/jqadm/templates/plugin/item-standard.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -140,9 +140,12 @@
 block discarded – undo
140 140
 											</select>
141 141
 										</div>
142 142
 									</div>
143
-								<?php else : ?>
143
+								<?php else {
144
+	: ?>
144 145
 									<input class="item-type" type="hidden"
145
-										name="<?= $enc->attr( $this->formparam( array( 'item', 'plugin.type' ) ) ); ?>"
146
+										name="<?= $enc->attr( $this->formparam( array( 'item', 'plugin.type' ) ) );
147
+}
148
+?>"
146 149
 										value="<?= $enc->attr( $types->getCode()->first() ) ?>" />
147 150
 								<?php endif; ?>
148 151
 								<div class="form-group row mandatory">
Please login to merge, or discard this patch.
admin/jqadm/templates/product/item-standard.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -356,9 +356,12 @@
 block discarded – undo
356 356
 											</select>
357 357
 										</div>
358 358
 									</div>
359
-								<?php else : ?>
359
+								<?php else {
360
+	: ?>
360 361
 									<input class="item-type" type="hidden"
361
-										name="<?= $enc->attr( $this->formparam( array( 'item', 'product.type' ) ) ); ?>"
362
+										name="<?= $enc->attr( $this->formparam( array( 'item', 'product.type' ) ) );
363
+}
364
+?>"
362 365
 										value="<?= $enc->attr( $types->firstKey() ) ?>" />
363 366
 								<?php endif; ?>
364 367
 								<div class="form-group row mandatory">
Please login to merge, or discard this patch.
admin/jqadm/templates/service/item-standard.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -140,9 +140,12 @@
 block discarded – undo
140 140
 											</select>
141 141
 										</div>
142 142
 									</div>
143
-								<?php else : ?>
143
+								<?php else {
144
+	: ?>
144 145
 									<input class="item-type" type="hidden"
145
-										name="<?= $enc->attr( $this->formparam( array( 'item', 'service.type' ) ) ); ?>"
146
+										name="<?= $enc->attr( $this->formparam( array( 'item', 'service.type' ) ) );
147
+}
148
+?>"
146 149
 										value="<?= $enc->attr( $types->getCode()->first() ) ?>" />
147 150
 								<?php endif; ?>
148 151
 								<div class="form-group row mandatory">
Please login to merge, or discard this patch.