Passed
Push — master ( 8248a2...199ce1 )
by Aimeos
03:50
created
admin/jqadm/templates/service/item-price-standard.php 1 patch
Braces   +15 added lines, -6 removed lines patch added patch discarded remove patch
@@ -159,9 +159,12 @@  discard block
 block discarded – undo
159 159
 									</select>
160 160
 								</div>
161 161
 							</div>
162
-						<?php else : ?>
162
+						<?php else {
163
+	: ?>
163 164
 							<input class="item-currencyid" type="hidden"
164
-								v-bind:name="'<?= $enc->attr( $this->formparam( array( 'price', 'idx', 'price.currencyid' ) ) ); ?>'.replace('idx', idx)"
165
+								v-bind:name="'<?= $enc->attr( $this->formparam( array( 'price', 'idx', 'price.currencyid' ) ) );
166
+}
167
+?>'.replace('idx', idx)"
165 168
 								value="<?= $enc->attr( key( $currencies ) ); ?>" />
166 169
 						<?php endif; ?>
167 170
 
@@ -189,9 +192,12 @@  discard block
 block discarded – undo
189 192
 									<?= $enc->html( $this->translate( 'admin', 'Types for additional prices like per one lb/kg or per month' ) ); ?>
190 193
 								</div>
191 194
 							</div>
192
-						<?php else : ?>
195
+						<?php else {
196
+	: ?>
193 197
 							<input class="item-type" type="hidden"
194
-								v-bind:name="'<?= $enc->attr( $this->formparam( array( 'price', 'idx', 'price.type' ) ) ); ?>'.replace('idx', idx)"
198
+								v-bind:name="'<?= $enc->attr( $this->formparam( array( 'price', 'idx', 'price.type' ) ) );
199
+}
200
+?>'.replace('idx', idx)"
195 201
 								value="<?= $enc->attr( key( $priceTypes ) ); ?>" />
196 202
 						<?php endif; ?>
197 203
 
@@ -247,9 +253,12 @@  discard block
 block discarded – undo
247 253
 									<?= $enc->html( $this->translate( 'admin', 'Second level type for grouping items' ) ); ?>
248 254
 								</div>
249 255
 							</div>
250
-						<?php else : ?>
256
+						<?php else {
257
+	: ?>
251 258
 							<input class="listitem-type" type="hidden"
252
-								v-bind:name="'<?= $enc->attr( $this->formparam( array( 'price', 'idx', 'service.lists.type' ) ) ); ?>'.replace('idx', idx)"
259
+								v-bind:name="'<?= $enc->attr( $this->formparam( array( 'price', 'idx', 'service.lists.type' ) ) );
260
+}
261
+?>'.replace('idx', idx)"
253 262
 								value="<?= $enc->attr( key( $listTypes ) ); ?>"
254 263
 								v-model="items[idx]['service.lists.type']" />
255 264
 						<?php endif; ?>
Please login to merge, or discard this patch.