@@ -84,7 +84,7 @@ discard block |
||
| 84 | 84 | |
| 85 | 85 | Auth::checkComponentAccess($module, 'report', $tree, $user); |
| 86 | 86 | |
| 87 | - $xref = $request->getQueryParams()['xref'] ?? ''; |
|
| 87 | + $xref = $request->getQueryParams()['xref'] ?? ''; |
|
| 88 | 88 | |
| 89 | 89 | $xml_filename = $module->resourcesFolder() . $module->xmlFilename(); |
| 90 | 90 | |
@@ -139,7 +139,7 @@ discard block |
||
| 139 | 139 | break; |
| 140 | 140 | |
| 141 | 141 | case 'DATE': |
| 142 | - $attributes += [ |
|
| 142 | + $attributes += [ |
|
| 143 | 143 | 'type' => 'text', |
| 144 | 144 | 'value' => $input['default'], |
| 145 | 145 | 'dir' => 'ltr', |
@@ -152,7 +152,7 @@ discard block |
||
| 152 | 152 | default: |
| 153 | 153 | switch ($input['type']) { |
| 154 | 154 | case 'text': |
| 155 | - $attributes += [ |
|
| 155 | + $attributes += [ |
|
| 156 | 156 | 'type' => 'text', |
| 157 | 157 | 'value' => $input['default'], |
| 158 | 158 | ]; |
@@ -160,7 +160,7 @@ discard block |
||
| 160 | 160 | break; |
| 161 | 161 | |
| 162 | 162 | case 'checkbox': |
| 163 | - $attributes += [ |
|
| 163 | + $attributes += [ |
|
| 164 | 164 | 'type' => 'checkbox', |
| 165 | 165 | 'checked' => (bool) $input['default'], |
| 166 | 166 | ]; |