Passed
Pull Request — master (#246)
by
unknown
04:59
created
templates/admin/jqadm/settings/item.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -86,7 +86,8 @@  discard block
 block discarded – undo
86 86
 								<?php if( $logos = $this->get( 'itemData/locale.site.logo' ) ) : ?>
87 87
 									<img class="item-preview"
88 88
 										src="<?= $enc->attr( $this->content( end( $logos ) ) ) ?>">
89
-								<?php else : ?>
89
+								<?php else {
90
+	: ?>
90 91
 									<p class="item-preview">
91 92
 										<?= $enc->html( $this->translate( 'admin', 'Upload shop logo' ) ) ?>
92 93
 									</p>
@@ -100,7 +101,9 @@  discard block
 block discarded – undo
100 101
 						<div class="box">
101 102
 
102 103
 							<div class="form-group media-preview">
103
-								<input class="fileupload" type="file" tabindex="<?= $this->get( 'tabindex', 1 ); ?>"
104
+								<input class="fileupload" type="file" tabindex="<?= $this->get( 'tabindex', 1 );
105
+}
106
+?>"
104 107
 									name="media[icon]">
105 108
 								<?php if( $icon = $this->get( 'itemData/locale.site.icon' ) ) : ?>
106 109
 									<img class="item-preview"
Please login to merge, or discard this patch.
src/Admin/JQAdm/Order/Transaction/Standard.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -254,8 +254,7 @@
 block discarded – undo
254 254
 				if( $order = $manager->search( $filter, ['order/base', 'order/base/service'] )->first() ) {
255 255
 					$manager->save( $provider->refund( $order, $price ) );
256 256
 				}
257
-			}
258
-			else
257
+			} else
259 258
 			{
260 259
 				$txItem->setConfigValue( 'info', $context->translate( 'admin', 'Manual transfer' ) );
261 260
 			}
Please login to merge, or discard this patch.