Completed
Push — master ( 934151...9c9d88 )
by Marcus
02:32
created
src/Controller/Admin/Shop/Itemadmin.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -258,10 +258,10 @@  discard block
 block discarded – undo
258 258
     private function admin_prepareItemlist($aItemlist)
259 259
     {
260 260
         $aList = [
261
-            ['title' => HardcodedText::get('itemadmin_list_active'), 'key' => 'itemindex', 'width' => 30, 'linked' => false, 'callback' => 'renderItemStatusIcon',],
262
-            ['title' => HardcodedText::get('itemadmin_list_itemno'), 'key' => 'itemno', 'width' => 100, 'linked' => false,],
263
-            ['title' => HardcodedText::get('itemadmin_list_name'), 'key' => 'name', 'width' => 350, 'linked' => false,],
264
-            ['title' => HardcodedText::get('itemadmin_list_edit'), 'key' => 'itemno', 'width' => 30, 'linked' => true, 'ltarget' => '/_admin/itemadmin.html', 'lkeyname' => 'itemno', 'lgetvars' => ['action' => 'showitem'],],
261
+            ['title' => HardcodedText::get('itemadmin_list_active'), 'key' => 'itemindex', 'width' => 30, 'linked' => false, 'callback' => 'renderItemStatusIcon', ],
262
+            ['title' => HardcodedText::get('itemadmin_list_itemno'), 'key' => 'itemno', 'width' => 100, 'linked' => false, ],
263
+            ['title' => HardcodedText::get('itemadmin_list_name'), 'key' => 'name', 'width' => 350, 'linked' => false, ],
264
+            ['title' => HardcodedText::get('itemadmin_list_edit'), 'key' => 'itemno', 'width' => 30, 'linked' => true, 'ltarget' => '/_admin/itemadmin.html', 'lkeyname' => 'itemno', 'lgetvars' => ['action' => 'showitem'], ],
265 265
         ];
266 266
         $aData = [];
267 267
         foreach ($aItemlist['data'] as $aValue) {
@@ -326,7 +326,7 @@  discard block
 block discarded – undo
326 326
     private function admin_prepareItem($aItemdata)
327 327
     {
328 328
         $aData = [
329
-            'form' => ['action' => Tools::makeLinkHRefWithAddedGetVars('/_admin/itemadmin.html', ['action' => 'showitem', 'itemno' => $aItemdata['base']['itm_no']]),],
329
+            'form' => ['action' => Tools::makeLinkHRefWithAddedGetVars('/_admin/itemadmin.html', ['action' => 'showitem', 'itemno' => $aItemdata['base']['itm_no']]), ],
330 330
             'id' => $aItemdata['base']['itm_id'],
331 331
             'itemno' => $aItemdata['base']['itm_no'],
332 332
             'name' => $aItemdata['base']['itm_name'],
@@ -357,7 +357,7 @@  discard block
 block discarded – undo
357 357
         $aGroups = $this->admin_getItemgroups('');
358 358
         $aData['groupoptions'][] = '';
359 359
         foreach ($aGroups as $aValue) {
360
-            $aData['groupoptions'][] = $aValue['itmg_id'] . '|' . $aValue['itmg_no'] . ' - ' . $aValue['itmg_name'];
360
+            $aData['groupoptions'][] = $aValue['itmg_id'].'|'.$aValue['itmg_no'].' - '.$aValue['itmg_name'];
361 361
         }
362 362
         unset($aGroups);
363 363
 
Please login to merge, or discard this patch.