Completed
Push — master ( 7fd4f1...456bf5 )
by Marcus
05:30 queued 02:52
created
src/Controller/Admin/DBStatus.php 1 patch
Spacing   +43 added lines, -43 removed lines patch added patch discarded remove patch
@@ -88,10 +88,10 @@  discard block
 block discarded – undo
88 88
         $this->P->cb_customdata['rows_textcat_lang'] = $hResult->rowCount();
89 89
         if ($this->P->cb_customdata['rows_textcat_lang'] > 0) {
90 90
             $aListSetting = [
91
-                ['title' => 'tcl_id', 'key' => 'tcl_id', 'width' => '6%', 'linked' => false,],
92
-                ['title' => 'tcl_tcid', 'key' => 'tcl_tcid', 'width' => '6%', 'linked' => false,],
93
-                ['title' => 'tcl_lang', 'key' => 'tcl_lang', 'width' => '6%', 'linked' => false,],
94
-                ['title' => 'tcl_text', 'key' => 'tcl_text', 'width' => '82%', 'linked' => false, 'escapehtmlspecialchars' => true,],
91
+                ['title' => 'tcl_id', 'key' => 'tcl_id', 'width' => '6%', 'linked' => false, ],
92
+                ['title' => 'tcl_tcid', 'key' => 'tcl_tcid', 'width' => '6%', 'linked' => false, ],
93
+                ['title' => 'tcl_lang', 'key' => 'tcl_lang', 'width' => '6%', 'linked' => false, ],
94
+                ['title' => 'tcl_text', 'key' => 'tcl_text', 'width' => '82%', 'linked' => false, 'escapehtmlspecialchars' => true, ],
95 95
             ];
96 96
             $aData = $hResult->fetchAll();
97 97
             $this->P->cb_customdata['rows_textcat_lang_list'] = Tools::makeListtable(
@@ -115,12 +115,12 @@  discard block
 block discarded – undo
115 115
         $this->P->cb_customdata['rows_textcat_lang_archive'] = $hResult->rowCount();
116 116
         if ($this->P->cb_customdata['rows_textcat_lang_archive'] > 0) {
117 117
             $aListSetting = [
118
-                ['title' => 'tcla_timestamp', 'key' => 'tcla_timestamp', 'width' => '15%', 'linked' => false,],
119
-                ['title' => 'tcla_id', 'key' => 'tcla_id', 'width' => '6%', 'linked' => false,],
120
-                ['title' => 'tcl_id', 'key' => 'tcl_id', 'width' => '6%', 'linked' => false,],
121
-                ['title' => 'tcl_tcid', 'key' => 'tcl_tcid', 'width' => '6%', 'linked' => false,],
122
-                ['title' => 'tcl_lang', 'key' => 'tcl_lang', 'width' => '6%', 'linked' => false,],
123
-                ['title' => 'tcl_text', 'key' => 'tcl_text', 'width' => '61%', 'linked' => false, 'escapehtmlspecialchars' => true,],
118
+                ['title' => 'tcla_timestamp', 'key' => 'tcla_timestamp', 'width' => '15%', 'linked' => false, ],
119
+                ['title' => 'tcla_id', 'key' => 'tcla_id', 'width' => '6%', 'linked' => false, ],
120
+                ['title' => 'tcl_id', 'key' => 'tcl_id', 'width' => '6%', 'linked' => false, ],
121
+                ['title' => 'tcl_tcid', 'key' => 'tcl_tcid', 'width' => '6%', 'linked' => false, ],
122
+                ['title' => 'tcl_lang', 'key' => 'tcl_lang', 'width' => '6%', 'linked' => false, ],
123
+                ['title' => 'tcl_text', 'key' => 'tcl_text', 'width' => '61%', 'linked' => false, 'escapehtmlspecialchars' => true, ],
124 124
             ];
125 125
             $aData = $hResult->fetchAll();
126 126
             $this->P->cb_customdata['rows_textcat_lang_archive_list'] = Tools::makeListtable($aListSetting,
@@ -141,13 +141,13 @@  discard block
 block discarded – undo
141 141
         $this->P->cb_customdata['rows_content_lang'] = $hResult->rowCount();
142 142
         if ($this->P->cb_customdata['rows_content_lang'] > 0) {
143 143
             $aListSetting = [
144
-                ['title' => 'cl_id', 'key' => 'cl_id', 'width' => '6%', 'linked' => false,],
145
-                ['title' => 'cl_cb', 'key' => 'cl_cb', 'width' => '6%', 'linked' => false,],
146
-                ['title' => 'cl_lang', 'key' => 'cl_lang', 'width' => '6%', 'linked' => false,],
147
-                ['title' => 'cl_html', 'key' => 'cl_html', 'width' => '43%', 'linked' => false, 'escapehtmlspecialchars' => true,],
148
-                ['title' => 'cl_keywords', 'key' => 'cl_keywords', 'width' => '13%', 'linked' => false, 'escapehtmlspecialchars' => true,],
149
-                ['title' => 'cl_description', 'key' => 'cl_description', 'width' => '13%', 'linked' => false, 'escapehtmlspecialchars' => true,],
150
-                ['title' => 'cl_title', 'key' => 'cl_title', 'width' => '13%', 'linked' => false, 'escapehtmlspecialchars' => true,],
144
+                ['title' => 'cl_id', 'key' => 'cl_id', 'width' => '6%', 'linked' => false, ],
145
+                ['title' => 'cl_cb', 'key' => 'cl_cb', 'width' => '6%', 'linked' => false, ],
146
+                ['title' => 'cl_lang', 'key' => 'cl_lang', 'width' => '6%', 'linked' => false, ],
147
+                ['title' => 'cl_html', 'key' => 'cl_html', 'width' => '43%', 'linked' => false, 'escapehtmlspecialchars' => true, ],
148
+                ['title' => 'cl_keywords', 'key' => 'cl_keywords', 'width' => '13%', 'linked' => false, 'escapehtmlspecialchars' => true, ],
149
+                ['title' => 'cl_description', 'key' => 'cl_description', 'width' => '13%', 'linked' => false, 'escapehtmlspecialchars' => true, ],
150
+                ['title' => 'cl_title', 'key' => 'cl_title', 'width' => '13%', 'linked' => false, 'escapehtmlspecialchars' => true, ],
151 151
             ];
152 152
             $aData = $hResult->fetchAll();
153 153
             $this->P->cb_customdata['rows_content_lang_list'] = Tools::makeListtable($aListSetting,
@@ -168,15 +168,15 @@  discard block
 block discarded – undo
168 168
         $this->P->cb_customdata['rows_content_lang_archive'] = $hResult->rowCount();
169 169
         if ($this->P->cb_customdata['rows_content_lang_archive'] > 0) {
170 170
             $aListSetting = [
171
-                ['title' => 'cla_timestamp', 'key' => 'cla_timestamp', 'width' => '15%', 'linked' => false,],
172
-                ['title' => 'cla_id', 'key' => 'cla_id', 'width' => '6%', 'linked' => false,],
173
-                ['title' => 'cl_id', 'key' => 'cl_id', 'width' => '6%', 'linked' => false,],
174
-                ['title' => 'cl_cb', 'key' => 'cl_cb', 'width' => '6%', 'linked' => false,],
175
-                ['title' => 'cl_lang', 'key' => 'cl_lang', 'width' => '6%', 'linked' => false,],
176
-                ['title' => 'cl_html', 'key' => 'cl_html', 'width' => '33%', 'linked' => false, 'escapehtmlspecialchars' => true,],
177
-                ['title' => 'cl_keywords', 'key' => 'cl_keywords', 'width' => '10%', 'linked' => false, 'escapehtmlspecialchars' => true,],
178
-                ['title' => 'cl_description', 'key' => 'cl_description', 'width' => '10%', 'linked' => false, 'escapehtmlspecialchars' => true,],
179
-                ['title' => 'cl_title', 'key' => 'cl_title', 'width' => '10%', 'linked' => false, 'escapehtmlspecialchars' => true,],
171
+                ['title' => 'cla_timestamp', 'key' => 'cla_timestamp', 'width' => '15%', 'linked' => false, ],
172
+                ['title' => 'cla_id', 'key' => 'cla_id', 'width' => '6%', 'linked' => false, ],
173
+                ['title' => 'cl_id', 'key' => 'cl_id', 'width' => '6%', 'linked' => false, ],
174
+                ['title' => 'cl_cb', 'key' => 'cl_cb', 'width' => '6%', 'linked' => false, ],
175
+                ['title' => 'cl_lang', 'key' => 'cl_lang', 'width' => '6%', 'linked' => false, ],
176
+                ['title' => 'cl_html', 'key' => 'cl_html', 'width' => '33%', 'linked' => false, 'escapehtmlspecialchars' => true, ],
177
+                ['title' => 'cl_keywords', 'key' => 'cl_keywords', 'width' => '10%', 'linked' => false, 'escapehtmlspecialchars' => true, ],
178
+                ['title' => 'cl_description', 'key' => 'cl_description', 'width' => '10%', 'linked' => false, 'escapehtmlspecialchars' => true, ],
179
+                ['title' => 'cl_title', 'key' => 'cl_title', 'width' => '10%', 'linked' => false, 'escapehtmlspecialchars' => true, ],
180 180
             ];
181 181
             $aData = $hResult->fetchAll();
182 182
             $this->P->cb_customdata['rows_content_lang_archive_list'] = Tools::makeListtable($aListSetting,
@@ -197,9 +197,9 @@  discard block
 block discarded – undo
197 197
         $this->P->cb_customdata['rows_item_lang'] = $hResult->rowCount();
198 198
         if ($this->P->cb_customdata['rows_item_lang'] > 0) {
199 199
             $aListSetting = [
200
-                ['title' => 'itml_id', 'key' => 'itml_id', 'width' => '6%', 'linked' => false,],
201
-                ['title' => 'itml_pid', 'key' => 'itml_pid', 'width' => '6%', 'linked' => false,],
202
-                ['title' => 'itml_lang', 'key' => 'itml_lang', 'width' => '6%', 'linked' => false,],
200
+                ['title' => 'itml_id', 'key' => 'itml_id', 'width' => '6%', 'linked' => false, ],
201
+                ['title' => 'itml_pid', 'key' => 'itml_pid', 'width' => '6%', 'linked' => false, ],
202
+                ['title' => 'itml_lang', 'key' => 'itml_lang', 'width' => '6%', 'linked' => false, ],
203 203
                 [
204 204
                     'title' => 'itml_name_override',
205 205
                     'key' => 'itml_name_override',
@@ -241,9 +241,9 @@  discard block
 block discarded – undo
241 241
         $this->P->cb_customdata['rows_itemgroups_text'] = $hResult->rowCount();
242 242
         if ($this->P->cb_customdata['rows_itemgroups_text'] > 0) {
243 243
             $aListSetting = [
244
-                ['title' => 'itmgt_id', 'key' => 'itmgt_id', 'width' => '6%', 'linked' => false,],
245
-                ['title' => 'itmgt_pid', 'key' => 'itmgt_pid', 'width' => '6%', 'linked' => false,],
246
-                ['title' => 'itmgt_lang', 'key' => 'itmgt_lang', 'width' => '6%', 'linked' => false,],
244
+                ['title' => 'itmgt_id', 'key' => 'itmgt_id', 'width' => '6%', 'linked' => false, ],
245
+                ['title' => 'itmgt_pid', 'key' => 'itmgt_pid', 'width' => '6%', 'linked' => false, ],
246
+                ['title' => 'itmgt_lang', 'key' => 'itmgt_lang', 'width' => '6%', 'linked' => false, ],
247 247
                 [
248 248
                     'title' => 'itmgt_shorttext',
249 249
                     'key' => 'itmgt_shorttext',
@@ -278,17 +278,17 @@  discard block
 block discarded – undo
278 278
         $this->P->cb_customdata['rows_orders_items'] = $hResult->rowCount();
279 279
         if ($this->P->cb_customdata['rows_orders_items'] > 0) {
280 280
             $aListSetting = [
281
-                ['title' => 'oi_id', 'key' => 'oi_id', 'width' => '8%', 'linked' => false,],
282
-                ['title' => 'oi_o_id', 'key' => 'oi_o_id', 'width' => '9%', 'linked' => false,],
283
-                ['title' => 'oi_cartkey', 'key' => 'oi_cartkey', 'width' => '13%', 'linked' => false,],
284
-                ['title' => 'oi_amount', 'key' => 'oi_amount', 'width' => '9%', 'linked' => false,],
285
-                ['title' => 'oi_vat', 'key' => 'oi_vat', 'width' => '8%', 'linked' => false,],
286
-                ['title' => 'oi_rg', 'key' => 'oi_rg', 'width' => '8%', 'linked' => false,],
287
-                ['title' => 'oi_rg_rebate', 'key' => 'oi_rg_rebate', 'width' => '9%', 'linked' => false,],
288
-                ['title' => 'oi_price_netto_list',  'key' => 'oi_price_netto_list', 'width' => '9%', 'linked' => false,],
289
-                ['title' => 'oi_price_netto_sale', 'key' => 'oi_price_netto_sale', 'width' => '9%', 'linked' => false,],
290
-                ['title' => 'oi_price_netto_rebated', 'key' => 'oi_price_netto_rebated', 'width' => '9%', 'linked' => false,],
291
-                ['title' => 'oi_price_brutto_use', 'key' => 'oi_price_brutto_use', 'width' => '9%', 'linked' => false,],
281
+                ['title' => 'oi_id', 'key' => 'oi_id', 'width' => '8%', 'linked' => false, ],
282
+                ['title' => 'oi_o_id', 'key' => 'oi_o_id', 'width' => '9%', 'linked' => false, ],
283
+                ['title' => 'oi_cartkey', 'key' => 'oi_cartkey', 'width' => '13%', 'linked' => false, ],
284
+                ['title' => 'oi_amount', 'key' => 'oi_amount', 'width' => '9%', 'linked' => false, ],
285
+                ['title' => 'oi_vat', 'key' => 'oi_vat', 'width' => '8%', 'linked' => false, ],
286
+                ['title' => 'oi_rg', 'key' => 'oi_rg', 'width' => '8%', 'linked' => false, ],
287
+                ['title' => 'oi_rg_rebate', 'key' => 'oi_rg_rebate', 'width' => '9%', 'linked' => false, ],
288
+                ['title' => 'oi_price_netto_list', 'key' => 'oi_price_netto_list', 'width' => '9%', 'linked' => false, ],
289
+                ['title' => 'oi_price_netto_sale', 'key' => 'oi_price_netto_sale', 'width' => '9%', 'linked' => false, ],
290
+                ['title' => 'oi_price_netto_rebated', 'key' => 'oi_price_netto_rebated', 'width' => '9%', 'linked' => false, ],
291
+                ['title' => 'oi_price_brutto_use', 'key' => 'oi_price_brutto_use', 'width' => '9%', 'linked' => false, ],
292 292
                 //['title' => 'oi_img', 'key' => 'oi_img', 'width' => '41%', 'linked' => false, 'escapehtmlspecialchars' => true,],
293 293
 
294 294
             ];
Please login to merge, or discard this patch.
src/Controller/Admin/Shop/Shopadmin.php 1 patch
Spacing   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -94,12 +94,12 @@  discard block
 block discarded – undo
94 94
         $CSA = [
95 95
             'list_orders' => [
96 96
                 ['title' => '', 'key' => 'o_id', 'width' => 30, 'linked' => false, 'callback' => 'shopadminMakeCheckbox'],
97
-                ['title' => HardcodedText::get('shopadmin_list_orderid'), 'key' => 'o_id', 'width' => 30, 'linked' => false,],
98
-                ['title' => HardcodedText::get('shopadmin_list_customer'), 'key' => 'o_cust', 'width' => 280, 'linked' => false,],
99
-                ['title' => HardcodedText::get('shopadmin_list_sumnettoall'), 'key' => 'o_sumnettoall', 'width' => 75, 'linked' => false,],
100
-                ['title' => HardcodedText::get('shopadmin_list_orderstatus'), 'key' => 'o_order_status', 'width' => 80, 'linked' => false,],
101
-                ['title' => HardcodedText::get('shopadmin_list_ordertimenumber'), 'key' => 'o_ordertime_number', 'width' => 100, 'linked' => false,],
102
-                ['title' => HardcodedText::get('shopadmin_list_hostpayment'), 'key' => 'o_order_host_payment', 'width' => 140, 'linked' => false,],
97
+                ['title' => HardcodedText::get('shopadmin_list_orderid'), 'key' => 'o_id', 'width' => 30, 'linked' => false, ],
98
+                ['title' => HardcodedText::get('shopadmin_list_customer'), 'key' => 'o_cust', 'width' => 280, 'linked' => false, ],
99
+                ['title' => HardcodedText::get('shopadmin_list_sumnettoall'), 'key' => 'o_sumnettoall', 'width' => 75, 'linked' => false, ],
100
+                ['title' => HardcodedText::get('shopadmin_list_orderstatus'), 'key' => 'o_order_status', 'width' => 80, 'linked' => false, ],
101
+                ['title' => HardcodedText::get('shopadmin_list_ordertimenumber'), 'key' => 'o_ordertime_number', 'width' => 100, 'linked' => false, ],
102
+                ['title' => HardcodedText::get('shopadmin_list_hostpayment'), 'key' => 'o_order_host_payment', 'width' => 140, 'linked' => false, ],
103 103
                 [
104 104
                     'title' => HardcodedText::get('shopadmin_list_edit'),
105 105
                     'key' => 'o_id',
@@ -113,11 +113,11 @@  discard block
 block discarded – undo
113 113
                 ],
114 114
             ],
115 115
             'list_orderitems' => [
116
-                ['title' => HardcodedText::get('shopadmin_list_itemno'), 'key' => 'oi_itemno', 'width' => 95, 'linked' => false,],
117
-                ['title' => HardcodedText::get('shopadmin_list_itemname'), 'key' => 'oi_itemname', 'width' => 350, 'linked' => false,],
118
-                ['title' => HardcodedText::get('shopadmin_list_itemamount'), 'key' => 'oi_amount', 'width' => 50, 'linked' => false, 'style-data' => 'text-align: center;',],
119
-                ['title' => HardcodedText::get('shopadmin_list_itemnetto'), 'key' => 'oi_price_netto', 'width' => 70, 'linked' => false,],
120
-                ['title' => HardcodedText::get('shopadmin_list_itemsumnetto'), 'key' => 'ges_netto', 'width' => 75, 'linked' => false,],
116
+                ['title' => HardcodedText::get('shopadmin_list_itemno'), 'key' => 'oi_itemno', 'width' => 95, 'linked' => false, ],
117
+                ['title' => HardcodedText::get('shopadmin_list_itemname'), 'key' => 'oi_itemname', 'width' => 350, 'linked' => false, ],
118
+                ['title' => HardcodedText::get('shopadmin_list_itemamount'), 'key' => 'oi_amount', 'width' => 50, 'linked' => false, 'style-data' => 'text-align: center;', ],
119
+                ['title' => HardcodedText::get('shopadmin_list_itemnetto'), 'key' => 'oi_price_netto', 'width' => 70, 'linked' => false, ],
120
+                ['title' => HardcodedText::get('shopadmin_list_itemsumnetto'), 'key' => 'ges_netto', 'width' => 75, 'linked' => false, ],
121 121
             ],
122 122
         ];
123 123
 
@@ -221,7 +221,7 @@  discard block
 block discarded – undo
221 221
                         $sZahlungsmethode = '<span style="color: red;">';
222 222
                     }
223 223
                     $mZahlungsmethode = $this->serviceManager->get('textcats')->T("order_paymentmethod_".$aRow["o_paymentmethod"], true);
224
-                    if ($mZahlungsmethode ) {
224
+                    if ($mZahlungsmethode) {
225 225
                         $sZahlungsmethode .= $mZahlungsmethode;
226 226
                     } else {
227 227
                         $sZahlungsmethode .= ucwords($aRow["o_paymentmethod"]);
@@ -265,7 +265,7 @@  discard block
 block discarded – undo
265 265
                     ];
266 266
                     if (!($aRow["o_ordercompleted"] == 's' && $bIgnoreStorno)) {
267 267
                         $fGesamtnetto += $aRow["o_sumnettoall"];
268
-                        $j ++;
268
+                        $j++;
269 269
                     } else {
270 270
                         $k++;
271 271
                     }
Please login to merge, or discard this patch.
src/Controller/Admin/Shop/Itemadmin.php 1 patch
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -128,7 +128,7 @@  discard block
 block discarded – undo
128 128
                         if ($iRows > 0) {
129 129
                             $aErr["itemnoalreadytaken"] = true;
130 130
                         } else {
131
-                            $aData = ['itm_no' => trim(\filter_input(INPUT_POST, 'itemno', FILTER_SANITIZE_SPECIAL_CHARS)),];
131
+                            $aData = ['itm_no' => trim(\filter_input(INPUT_POST, 'itemno', FILTER_SANITIZE_SPECIAL_CHARS)), ];
132 132
                             $sql = DBTools::buildInsertQuery($aData, 'item_base');
133 133
                             $this->db->exec($sql);
134 134
                             $iInsertID = $this->db->lastInsertId();
@@ -229,10 +229,10 @@  discard block
 block discarded – undo
229 229
     private function admin_prepareItemlist($aItemlist)
230 230
     {
231 231
         $aList = [
232
-            ['title' => HardcodedText::get('itemadmin_list_active'), 'key' => 'itemindex', 'width' => 30, 'linked' => false, 'callback' => 'renderItemStatusIcon',],
233
-            ['title' => HardcodedText::get('itemadmin_list_itemno'), 'key' => 'itemno', 'width' => 100, 'linked' => false,],
234
-            ['title' => HardcodedText::get('itemadmin_list_name'), 'key' => 'name', 'width' => 350, 'linked' => false,],
235
-            ['title' => HardcodedText::get('itemadmin_list_edit'), 'key' => 'itemno', 'width' => 30, 'linked' => true, 'ltarget' => '/_admin/itemadmin.html', 'lkeyname' => 'itemno', 'lgetvars' => ['action' => 'showitem'],],
232
+            ['title' => HardcodedText::get('itemadmin_list_active'), 'key' => 'itemindex', 'width' => 30, 'linked' => false, 'callback' => 'renderItemStatusIcon', ],
233
+            ['title' => HardcodedText::get('itemadmin_list_itemno'), 'key' => 'itemno', 'width' => 100, 'linked' => false, ],
234
+            ['title' => HardcodedText::get('itemadmin_list_name'), 'key' => 'name', 'width' => 350, 'linked' => false, ],
235
+            ['title' => HardcodedText::get('itemadmin_list_edit'), 'key' => 'itemno', 'width' => 30, 'linked' => true, 'ltarget' => '/_admin/itemadmin.html', 'lkeyname' => 'itemno', 'lgetvars' => ['action' => 'showitem'], ],
236 236
         ];
237 237
         $aData = [];
238 238
         foreach ($aItemlist["data"] as $aValue) {
@@ -288,7 +288,7 @@  discard block
 block discarded – undo
288 288
     private function admin_prepareItem($aItemdata)
289 289
     {
290 290
         $aData = [
291
-            'form' => ['action' => Tools::makeLinkHRefWithAddedGetVars('/_admin/itemadmin.html', ['action' => 'showitem', 'itemno' => $aItemdata["base"]['itm_no']]),],
291
+            'form' => ['action' => Tools::makeLinkHRefWithAddedGetVars('/_admin/itemadmin.html', ['action' => 'showitem', 'itemno' => $aItemdata["base"]['itm_no']]), ],
292 292
             'id' => $aItemdata["base"]['itm_id'],
293 293
             'itemno' => $aItemdata["base"]['itm_no'],
294 294
             'name' => $aItemdata["base"]['itm_name'],
@@ -319,7 +319,7 @@  discard block
 block discarded – undo
319 319
         $aGroups = $this->admin_getItemgroups('');
320 320
         $aData["groupoptions"][] = '';
321 321
         foreach ($aGroups as $aValue) {
322
-            $aData["groupoptions"][] = $aValue['itmg_id'] . '|' . $aValue['itmg_no'] . ' - ' . $aValue['itmg_name'];
322
+            $aData["groupoptions"][] = $aValue['itmg_id'].'|'.$aValue['itmg_no'].' - '.$aValue['itmg_name'];
323 323
         }
324 324
         unset($aGroups);
325 325
 
@@ -361,7 +361,7 @@  discard block
 block discarded – undo
361 361
         $sql = DBTools::buildPSUpdateQuery($aData, 'item_base', 'itm_id');
362 362
         $hResult = $this->db->prepare($sql);
363 363
         foreach ($aData as $sKey => $sValue) {
364
-            $hResult->bindValue(':' . $sKey, $sValue);
364
+            $hResult->bindValue(':'.$sKey, $sValue);
365 365
         }
366 366
         $hResult->execute();
367 367
         if (isset($this->post["textid"])) {
@@ -374,7 +374,7 @@  discard block
 block discarded – undo
374 374
             $sql = DBTools::buildPSUpdateQuery($aData, 'item_lang', 'itml_id');
375 375
             $hResult = $this->db->prepare($sql);
376 376
             foreach ($aData as $sKey => $sValue) {
377
-                $hResult->bindValue(':' . $sKey, $sValue);
377
+                $hResult->bindValue(':'.$sKey, $sValue);
378 378
             }
379 379
             $hResult->execute();
380 380
         }
Please login to merge, or discard this patch.
src/Controller/Admin/Shop/Itemgroupadmin.php 2 patches
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -150,7 +150,7 @@  discard block
 block discarded – undo
150 150
      * @param $purifier
151 151
      * @return string
152 152
      */
153
-    private function admin_updateGroup( $purifier)
153
+    private function admin_updateGroup($purifier)
154 154
     {
155 155
         $sql = 'SELECT * FROM itemgroups_base WHERE itmg_id != :id AND itmg_no = :gno';
156 156
         $hResult = $this->db->prepare($sql);
@@ -173,7 +173,7 @@  discard block
 block discarded – undo
173 173
         $sql = DBTools::buildPSUpdateQuery($aData, 'itemgroups_base', 'itmg_id');
174 174
         $hResult = $this->db->prepare($sql);
175 175
         foreach ($aData as $sKey => $sValue) {
176
-            $hResult->bindValue(':' . $sKey, $sValue);
176
+            $hResult->bindValue(':'.$sKey, $sValue);
177 177
         }
178 178
         $hResult->execute();
179 179
 
@@ -194,7 +194,7 @@  discard block
 block discarded – undo
194 194
             ];
195 195
             $sql = DBTools::buildPSUpdateQuery($aData, 'itemgroups_text', 'itmgt_id');
196 196
             $hResult = $this->db->prepare($sql);
197
-            foreach ($aData as $sKey => $sValue) $hResult->bindValue(':' . $sKey, $sValue);
197
+            foreach ($aData as $sKey => $sValue) $hResult->bindValue(':'.$sKey, $sValue);
198 198
             $hResult->execute();
199 199
         }
200 200
 
Please login to merge, or discard this patch.
Braces   +27 added lines, -9 removed lines patch added patch discarded remove patch
@@ -81,7 +81,9 @@  discard block
 block discarded – undo
81 81
                 ];
82 82
                 $sql = DBTools::buildPSInsertQuery($aData, 'itemgroups_text');
83 83
                 $hResult = $this->db->prepare($sql);
84
-                foreach ($aData as $sKey => $sValue) $hResult->bindValue(':'.$sKey, $sValue);
84
+                foreach ($aData as $sKey => $sValue) {
85
+                    $hResult->bindValue(':'.$sKey, $sValue);
86
+                }
85 87
                 $hResult->execute();
86 88
                 header('Location: /_admin/itemgroupadmin.html?gid='.$iGID.'&action=editgroup');
87 89
                 die();
@@ -107,14 +109,20 @@  discard block
 block discarded – undo
107 109
                 $sGNo = filter_var($_REQUEST["no"], FILTER_SANITIZE_STRING, FILTER_FLAG_STRIP_LOW);
108 110
                 $sImg = filter_var($_REQUEST["img"], FILTER_SANITIZE_STRING, FILTER_FLAG_STRIP_LOW);
109 111
 
110
-                if (strlen($sName) < 3) $aErr["nametooshort"] = true;
111
-                if (strlen($sGNo) < 3) $aErr["grouptooshort"] = true;
112
+                if (strlen($sName) < 3) {
113
+                    $aErr["nametooshort"] = true;
114
+                }
115
+                if (strlen($sGNo) < 3) {
116
+                    $aErr["grouptooshort"] = true;
117
+                }
112 118
                 if (count($aErr) == 0) {
113 119
                     $sql = 'SELECT itmg_no FROM itemgroups_base WHERE itmg_no = :no';
114 120
                     $hResult = $this->db->prepare($sql);
115 121
                     $hResult->bindValue(':no', $sGNo);
116 122
                     $hResult->execute();
117
-                    if ($hResult->rowCount() > 0) $aErr["duplicateno"] = true;
123
+                    if ($hResult->rowCount() > 0) {
124
+                        $aErr["duplicateno"] = true;
125
+                    }
118 126
                 }
119 127
                 if (count($aErr) == 0) {
120 128
                     $aData = [
@@ -124,7 +132,9 @@  discard block
 block discarded – undo
124 132
                     ];
125 133
                     $sql = DBTools::buildPSInsertQuery($aData, 'itemgroups_base');
126 134
                     $hResult = $this->db->prepare($sql);
127
-                    foreach ($aData as $sKey => $sValue) $hResult->bindValue(':'.$sKey, $sValue);
135
+                    foreach ($aData as $sKey => $sValue) {
136
+                        $hResult->bindValue(':'.$sKey, $sValue);
137
+                    }
128 138
                     $hResult->execute();
129 139
                     $iLastInsertID = $this->db->lastInsertId();
130 140
                     header('Location: /_admin/itemgroupadmin.html?action=editgroup&added&gid='.$iLastInsertID);
@@ -161,7 +171,9 @@  discard block
 block discarded – undo
161 171
         $hResult->execute();
162 172
         $iNumRows = $hResult->rowCount();
163 173
 
164
-        if ($iNumRows > 0) return 'duplicateno';
174
+        if ($iNumRows > 0) {
175
+            return 'duplicateno';
176
+        }
165 177
 
166 178
         $aData = [
167 179
             'itmg_name' => filter_var($_REQUEST["name"], FILTER_SANITIZE_STRING, FILTER_FLAG_STRIP_LOW),
@@ -194,7 +206,9 @@  discard block
 block discarded – undo
194 206
             ];
195 207
             $sql = DBTools::buildPSUpdateQuery($aData, 'itemgroups_text', 'itmgt_id');
196 208
             $hResult = $this->db->prepare($sql);
197
-            foreach ($aData as $sKey => $sValue) $hResult->bindValue(':' . $sKey, $sValue);
209
+            foreach ($aData as $sKey => $sValue) {
210
+                $hResult->bindValue(':' . $sKey, $sValue);
211
+            }
198 212
             $hResult->execute();
199 213
         }
200 214
 
@@ -237,11 +251,15 @@  discard block
 block discarded – undo
237 251
         $sql = 'SELECT * FROM itemgroups_base '
238 252
             . 'LEFT OUTER JOIN itemgroups_text ON itemgroups_base.itmg_id = itemgroups_text.itmgt_pid'
239 253
             . ' AND itemgroups_text.itmgt_lang = :lang';
240
-        if ($iGID != '') $sql .= ' WHERE itmg_id = :gid';
254
+        if ($iGID != '') {
255
+            $sql .= ' WHERE itmg_id = :gid';
256
+        }
241 257
         $sql .= ' ORDER BY itmg_no';
242 258
         $hResult = $this->db->prepare($sql);
243 259
         $hResult->bindValue(':lang', HelperConfig::$lang);
244
-        if ($iGID != '') $hResult->bindValue(':gid', $iGID);
260
+        if ($iGID != '') {
261
+            $hResult->bindValue(':gid', $iGID);
262
+        }
245 263
         $hResult->execute();
246 264
 
247 265
         $aGroups = $hResult->fetchAll();
Please login to merge, or discard this patch.
src/Shop/Items.php 2 patches
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -207,7 +207,7 @@  discard block
 block discarded – undo
207 207
             $aData['itm_vatid'] = 'full';
208 208
         }
209 209
 
210
-        if(is_numeric($aData['itm_price']) && (float) $aData['itm_price'] > 0) {
210
+        if (is_numeric($aData['itm_price']) && (float) $aData['itm_price'] > 0) {
211 211
             $aPrice["netto_list"] = $aData['itm_price'];
212 212
             $aPrice['brutto_list'] = $this->addVat($aPrice['netto_list'], HelperConfig::$shop['vat'][$aData['itm_vatid']]);
213 213
             if (
@@ -230,7 +230,7 @@  discard block
 block discarded – undo
230 230
                         bcdiv(
231 231
                             bcsub(
232 232
                                 '100',
233
-                                (string)HelperConfig::$shop["rebate_groups"][$aData['itm_rg']][CHelper::getUserData('cust_group')]
233
+                                (string) HelperConfig::$shop["rebate_groups"][$aData['itm_rg']][CHelper::getUserData('cust_group')]
234 234
                             ),
235 235
                             '100'
236 236
                         )
@@ -262,7 +262,7 @@  discard block
 block discarded – undo
262 262
                 bcdiv(
263 263
                     bcmul(
264 264
                         $price,
265
-                        (string)$vat
265
+                        (string) $vat
266 266
                     ),
267 267
                     '100'
268 268
                 ),
Please login to merge, or discard this patch.
Braces   +7 added lines, -5 removed lines patch added patch discarded remove patch
@@ -86,8 +86,7 @@  discard block
 block discarded – undo
86 86
             if (!is_array($mItemno)) {
87 87
                 $hResult->bindValue(':itemno', $mItemno, \PDO::PARAM_STR);
88 88
             }
89
-        }
90
-        elseif (isset($_REQUEST["searchtext"]) && strlen($_REQUEST["searchtext"]) > 2) {
89
+        } elseif (isset($_REQUEST["searchtext"]) && strlen($_REQUEST["searchtext"]) > 2) {
91 90
             $sSearchtext = filter_var(trim($_REQUEST["searchtext"]), FILTER_SANITIZE_STRING, FILTER_FLAG_STRIP_LOW);
92 91
             if (isset($_REQUEST["artnoexact"])) {
93 92
                 $hResult->bindValue(':searchtext', $sSearchtext, \PDO::PARAM_STR);
@@ -114,8 +113,9 @@  discard block
 block discarded – undo
114 113
                 $sql .= 'item_base.itm_no = :itemno';
115 114
             }
116 115
         } elseif (isset($_REQUEST["searchtext"]) && \strlen($_REQUEST["searchtext"]) > 2) {
117
-            if (isset($_REQUEST["artnoexact"])) $sql .= 'item_base.itm_no = :searchtext';
118
-            else {
116
+            if (isset($_REQUEST["artnoexact"])) {
117
+                $sql .= 'item_base.itm_no = :searchtext';
118
+            } else {
119 119
                 $sql .= '(item_base.itm_no LIKE :searchtextwild1 OR itm_name LIKE :searchtextwild2';
120 120
                 $sql .= ' OR itml_name_override LIKE :searchtextwild3 OR itml_text1 LIKE :searchtextwild4';
121 121
                 $sql .= ' OR itml_text2 LIKE :searchtextwild5)';
@@ -123,7 +123,9 @@  discard block
 block discarded – undo
123 123
         } else {
124 124
             if (is_array($mItemIndex)) {
125 125
                 $sql .= "(";
126
-                foreach ($mItemIndex as $sAIndex) $sql .= "itm_index LIKE '%".filter_var($sAIndex, FILTER_SANITIZE_SPECIAL_CHARS)."%' OR ";
126
+                foreach ($mItemIndex as $sAIndex) {
127
+                    $sql .= "itm_index LIKE '%".filter_var($sAIndex, FILTER_SANITIZE_SPECIAL_CHARS)."%' OR ";
128
+                }
127 129
                 $sql = \HaaseIT\Toolbox\Tools::cutStringend($sql, 4);
128 130
                 $sql .= ")";
129 131
             } else {
Please login to merge, or discard this patch.
src/Shop/Helper.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -102,11 +102,11 @@  discard block
 block discarded – undo
102 102
         }
103 103
 
104 104
         if ($aOrder["iMindergebuehr_id"] > 0) {
105
-            $aOrder["fVoll"] += HelperConfig::$shop["reducedorderamountfee" . $aOrder["iMindergebuehr_id"]];
106
-            $aOrder["fGesamtnetto"] += HelperConfig::$shop["reducedorderamountfee" . $aOrder["iMindergebuehr_id"]];
105
+            $aOrder["fVoll"] += HelperConfig::$shop["reducedorderamountfee".$aOrder["iMindergebuehr_id"]];
106
+            $aOrder["fGesamtnetto"] += HelperConfig::$shop["reducedorderamountfee".$aOrder["iMindergebuehr_id"]];
107 107
             $aOrder["fSteuervoll"] = $aOrder["fVoll"] * $iVATfull / 100;
108 108
             $aOrder["fGesamtbrutto"] = $aOrder["fGesamtnetto"] + $aOrder["fSteuervoll"] + $aOrder["fSteuererm"];
109
-            $aOrder["fMindergebuehr"] = HelperConfig::$shop["reducedorderamountfee" . $aOrder["iMindergebuehr_id"]];
109
+            $aOrder["fMindergebuehr"] = HelperConfig::$shop["reducedorderamountfee".$aOrder["iMindergebuehr_id"]];
110 110
         }
111 111
 
112 112
         $aOrder["fVersandkosten"] = 0;
@@ -408,12 +408,12 @@  discard block
 block discarded – undo
408 408
                 }
409 409
                 // because array_rand will change numerical (string) values to integer, we have to do this awkward dance
410 410
                 foreach ($keysAddSuggsTMP as $key => $item) {
411
-                    $keysAddSuggs[] = (string)$item;
411
+                    $keysAddSuggs[] = (string) $item;
412 412
                 }
413 413
 
414 414
                 // iterate suggestions and remove those that which will not be kept
415 415
                 foreach ($suggestions['additional'] as $addSuggsKey => $addSuggsVal) {
416
-                    if (!in_array((string)$addSuggsKey, $keysAddSuggs, true)) {
416
+                    if (!in_array((string) $addSuggsKey, $keysAddSuggs, true)) {
417 417
                         unset($suggestions['additional'][$addSuggsKey]);
418 418
                     }
419 419
                 }
Please login to merge, or discard this patch.
src/Router.php 2 patches
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -86,7 +86,7 @@  discard block
 block discarded – undo
86 86
 
87 87
             $aPath = explode('/', $this->sPath);
88 88
             if (!empty($map[$this->sPath])) {
89
-                $class = '\\HaaseIT\\HCSF\\Controller\\' . $map[$this->sPath];
89
+                $class = '\\HaaseIT\\HCSF\\Controller\\'.$map[$this->sPath];
90 90
             } else {
91 91
                 if ($aPath[1] == HelperConfig::$core['directory_images']) {
92 92
                     $class = '\\HaaseIT\\HCSF\\Controller\\Glide';
@@ -128,7 +128,7 @@  discard block
 block discarded – undo
128 128
                 } else { // if it is found, go on
129 129
                     // Support for shorturls
130 130
                     if ($this->P->cb_pagetype == 'shorturl') {
131
-                        header('Location: ' . $this->P->cb_pageconfig, true, 302);
131
+                        header('Location: '.$this->P->cb_pageconfig, true, 302);
132 132
                         exit();
133 133
                     }
134 134
 
@@ -145,14 +145,14 @@  discard block
 block discarded – undo
145 145
                 $this->P->iStatus = 404;
146 146
 
147 147
                 $this->P->oPayload->cl_html = $this->serviceManager->get('textcats')->T("misc_page_not_found");
148
-                header($_SERVER["SERVER_PROTOCOL"] . " 404 Not Found");
148
+                header($_SERVER["SERVER_PROTOCOL"]." 404 Not Found");
149 149
             } elseif (!is_object($this->P) && $this->P == 500) {
150 150
                 $this->P = new CorePage($this->serviceManager);
151 151
                 $this->P->cb_pagetype = 'error';
152 152
                 $this->P->iStatus = 500;
153 153
 
154 154
                 $this->P->oPayload->cl_html = $this->serviceManager->get('textcats')->T("misc_server_error");
155
-                header($_SERVER["SERVER_PROTOCOL"] . " 500 Internal Server Error");
155
+                header($_SERVER["SERVER_PROTOCOL"]." 500 Internal Server Error");
156 156
             } elseif (is_object($this->P) && $this->P->oPayload == NULL) {// elseif the page has been found but contains no payload...
157 157
                 if (
158 158
                     !(
@@ -162,10 +162,10 @@  discard block
 block discarded – undo
162 162
                     )
163 163
                 ) { // no payload is fine if page is one of these
164 164
                     $this->P->oPayload->cl_html = $this->serviceManager->get('textcats')->T("misc_content_not_found");
165
-                    header($_SERVER["SERVER_PROTOCOL"] . " 404 Not Found");
165
+                    header($_SERVER["SERVER_PROTOCOL"]." 404 Not Found");
166 166
                 }
167 167
             } elseif ($this->P->oPayload->cl_lang != NULL && $this->P->oPayload->cl_lang != HelperConfig::$lang) { // if the page is available but not in the current language, display info
168
-                $this->P->oPayload->cl_html = $this->serviceManager->get('textcats')->T("misc_page_not_available_lang") . '<br><br>' . $this->P->oPayload->cl_html;
168
+                $this->P->oPayload->cl_html = $this->serviceManager->get('textcats')->T("misc_page_not_available_lang").'<br><br>'.$this->P->oPayload->cl_html;
169 169
             }
170 170
         }
171 171
         return $this->P;
@@ -187,7 +187,7 @@  discard block
 block discarded – undo
187 187
                 // to allow dots in the filename, we have to iterate through all parts of the filename
188 188
                 $aRoutingoverride["itemno"] = '';
189 189
                 for ($i = 0; $i < count($aTMP["exploded_request_file"]) - 1; $i++) {
190
-                    $aRoutingoverride["itemno"] .= $aTMP["exploded_request_file"][$i] . '.';
190
+                    $aRoutingoverride["itemno"] .= $aTMP["exploded_request_file"][$i].'.';
191 191
                 }
192 192
                 // remove the trailing dot
193 193
                 $aRoutingoverride["itemno"] = \HaaseIT\Toolbox\Tools::cutStringend($aRoutingoverride["itemno"], 1);
@@ -197,7 +197,7 @@  discard block
 block discarded – undo
197 197
                 // rebuild the path string without the trailing '/item/itemno.html'
198 198
                 $this->sPath = '';
199 199
                 for ($i = 0; $i < $aTMP["parts_in_path"] - 2; $i++) {
200
-                    $this->sPath .= $aPath[$i] . '/';
200
+                    $this->sPath .= $aPath[$i].'/';
201 201
                 }
202 202
             }
203 203
         }
Please login to merge, or discard this patch.
Braces   +6 added lines, -2 removed lines patch added patch discarded remove patch
@@ -116,9 +116,13 @@
 block discarded – undo
116 116
                     If the last part of the path doesn't include a dot (.) and is not empty, apend a slash.
117 117
                     If there is already a slash at the end, the last part of the path array will be empty.
118 118
                      */
119
-                    if (mb_strpos($aPath[count($aPath) - 1], '.') === false && $aPath[count($aPath) - 1] != '') $this->sPath .= '/';
119
+                    if (mb_strpos($aPath[count($aPath) - 1], '.') === false && $aPath[count($aPath) - 1] != '') {
120
+                        $this->sPath .= '/';
121
+                    }
120 122
 
121
-                    if ($this->sPath[strlen($this->sPath) - 1] == '/') $this->sPath .= 'index.html';
123
+                    if ($this->sPath[strlen($this->sPath) - 1] == '/') {
124
+                        $this->sPath .= 'index.html';
125
+                    }
122 126
 
123 127
                     $this->P = new UserPage($this->serviceManager, $this->sPath);
124 128
                 }
Please login to merge, or discard this patch.
src/HCSF.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
 
31 31
         $this->setupHardcodedTextcats();
32 32
 
33
-        $this->serviceManager->setFactory('db', function () {
33
+        $this->serviceManager->setFactory('db', function() {
34 34
             return null;
35 35
         });
36 36
 
@@ -43,7 +43,7 @@  discard block
 block discarded – undo
43 43
         $this->setupTwig();
44 44
 
45 45
         if (HelperConfig::$core["enable_module_shop"]) {
46
-            $this->serviceManager->setFactory('oItem', function (ServiceManager $serviceManager) {
46
+            $this->serviceManager->setFactory('oItem', function(ServiceManager $serviceManager) {
47 47
                 return new \HaaseIT\HCSF\Shop\Items($serviceManager);
48 48
             });
49 49
         }
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
     {
57 57
         // PSR-7 Stuff
58 58
         // Init request object
59
-        $this->serviceManager->setFactory('request', function () {
59
+        $this->serviceManager->setFactory('request', function() {
60 60
             $request = \Zend\Diactoros\ServerRequestFactory::fromGlobals();
61 61
 
62 62
             // cleanup request
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
 // session.use_trans_sid wenn nötig aktivieren
77 77
             ini_set('session.use_only_cookies', 0);
78 78
             session_name('sid');
79
-            if(ini_get('session.use_trans_sid') == 1) {
79
+            if (ini_get('session.use_trans_sid') == 1) {
80 80
                 ini_set('session.use_trans_sid', 0);
81 81
             }
82 82
 // Session wenn nötig starten
@@ -120,7 +120,7 @@  discard block
 block discarded – undo
120 120
 
121 121
     protected function setupDB()
122 122
     {
123
-        $this->serviceManager->setFactory('dbal', function () {
123
+        $this->serviceManager->setFactory('dbal', function() {
124 124
             $config = new \Doctrine\DBAL\Configuration();
125 125
 
126 126
             $connectionParams = [
@@ -141,14 +141,14 @@  discard block
 block discarded – undo
141 141
             return \Doctrine\DBAL\DriverManager::getConnection($connectionParams, $config);
142 142
         });
143 143
 
144
-        $this->serviceManager->setFactory('db', function (ServiceManager $serviceManager) {
144
+        $this->serviceManager->setFactory('db', function(ServiceManager $serviceManager) {
145 145
             return $serviceManager->get('dbal')->getWrappedConnection();
146 146
         });
147 147
     }
148 148
 
149 149
     protected function setupTextcats()
150 150
     {
151
-        $this->serviceManager->setFactory('textcats', function (ServiceManager $serviceManager) {
151
+        $this->serviceManager->setFactory('textcats', function(ServiceManager $serviceManager) {
152 152
             $langavailable = HelperConfig::$core["lang_available"];
153 153
             $textcats = new \HaaseIT\Toolbox\Textcat(
154 154
                 HelperConfig::$lang,
@@ -165,7 +165,7 @@  discard block
 block discarded – undo
165 165
 
166 166
     protected function setupTwig()
167 167
     {
168
-        $this->serviceManager->setFactory('twig', function (ServiceManager $serviceManager) {
168
+        $this->serviceManager->setFactory('twig', function(ServiceManager $serviceManager) {
169 169
             $loader = new \Twig_Loader_Filesystem([PATH_BASEDIR.'customviews', HCSF_BASEDIR.'src/views/']);
170 170
 
171 171
             $twig_options = [
Please login to merge, or discard this patch.
src/Controller/Admin/Pageadmin.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -158,11 +158,11 @@
 block discarded – undo
158 158
 
159 159
                         if ($iArchivedRows > 0) {
160 160
                             $aListSetting = [
161
-                                ['title' => 'cla_timestamp', 'key' => 'cla_timestamp', 'width' => '15%', 'linked' => false,],
162
-                                ['title' => 'cl_html', 'key' => 'cl_html', 'width' => '40%', 'linked' => false, 'escapehtmlspecialchars' => true,],
163
-                                ['title' => 'cl_keywords', 'key' => 'cl_keywords', 'width' => '15%', 'linked' => false, 'escapehtmlspecialchars' => true,],
164
-                                ['title' => 'cl_description', 'key' => 'cl_description', 'width' => '15%', 'linked' => false, 'escapehtmlspecialchars' => true,],
165
-                                ['title' => 'cl_title', 'key' => 'cl_title', 'width' => '15%', 'linked' => false, 'escapehtmlspecialchars' => true,],
161
+                                ['title' => 'cla_timestamp', 'key' => 'cla_timestamp', 'width' => '15%', 'linked' => false, ],
162
+                                ['title' => 'cl_html', 'key' => 'cl_html', 'width' => '40%', 'linked' => false, 'escapehtmlspecialchars' => true, ],
163
+                                ['title' => 'cl_keywords', 'key' => 'cl_keywords', 'width' => '15%', 'linked' => false, 'escapehtmlspecialchars' => true, ],
164
+                                ['title' => 'cl_description', 'key' => 'cl_description', 'width' => '15%', 'linked' => false, 'escapehtmlspecialchars' => true, ],
165
+                                ['title' => 'cl_title', 'key' => 'cl_title', 'width' => '15%', 'linked' => false, 'escapehtmlspecialchars' => true, ],
166 166
                             ];
167 167
                             $aData = $statement->fetchAll();
168 168
                             $this->P->cb_customdata['archived_list'] = \HaaseIT\Toolbox\Tools::makeListtable(
Please login to merge, or discard this patch.