We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 92ab64d commit 15b3540Copy full SHA for 15b3540
1 file changed
system/HTTP/RedirectResponse.php
@@ -94,9 +94,13 @@ public function withInput()
94
$session = service('session');
95
96
// @phpstan-ignore-next-line
97
+ $get = $_GET ?? [];
98
+ // @phpstan-ignore-next-line
99
+ $post = $_POST ?? [];
100
+
101
$session->setFlashdata('_ci_old_input', [
- 'get' => $_GET ?? [],
- 'post' => $_POST ?? [],
102
+ 'get' => $get,
103
+ 'post' => $post,
104
]);
105
106
$this->withErrors();
0 commit comments