Completed
Push — master ( 39728a...38c658 )
by Aimeos
01:38
created
admin/jsonadm/templates/config-standard.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -59,9 +59,12 @@
 block discarded – undo
59 59
 
60 60
 		, "errors": <?= $this->partial( $this->config( $this->get( 'partial-errors', 'admin/jsonadm/partials/template-errors' ), 'partials/errors-standard' ), array( 'errors' => $this->errors ) ); ?>
61 61
 
62
-	<?php else : ?>
62
+	<?php else {
63
+	: ?>
63 64
 
64
-		, "data": <?= json_encode( $build( $configItems, $this->param( 'id' ) ), $options ); ?>
65
+		, "data": <?= json_encode( $build( $configItems, $this->param( 'id' ) ), $options );
66
+}
67
+?>
65 68
 
66 69
 	<?php endif; ?>
67 70
 }
Please login to merge, or discard this patch.
admin/jsonadm/src/Admin/JsonAdm/Locale/Site/Standard.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -180,8 +180,7 @@
 block discarded – undo
180 180
 			}
181 181
 
182 182
 			$item = $manager->saveItem( $item );
183
-		}
184
-		else
183
+		} else
185 184
 		{
186 185
 			$item = $manager->createItem();
187 186
 
Please login to merge, or discard this patch.
admin/jsonadm/src/Admin/JsonAdm/Catalog/Standard.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -182,8 +182,7 @@  discard block
 block discarded – undo
182 182
 			$view->data = $manager->searchItems( $search, [], $total );
183 183
 			$view->listItems = $this->getListItems( $view->data, $include );
184 184
 			$view->childItems = [];
185
-		}
186
-		else
185
+		} else
187 186
 		{
188 187
 			$level = \Aimeos\MW\Tree\Manager\Base::LEVEL_ONE;
189 188
 			if( in_array( 'catalog', $include ) ) {
@@ -249,8 +248,7 @@  discard block
 block discarded – undo
249 248
 			if( isset( $entry->parentid ) && $targetId !== null ) {
250 249
 				$manager->moveItem( $item->getId(), $entry->parentid, $targetId, $refId );
251 250
 			}
252
-		}
253
-		else
251
+		} else
254 252
 		{
255 253
 			$item = $manager->createItem();
256 254
 
Please login to merge, or discard this patch.