We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 836d3d7 commit e211a7dCopy full SHA for e211a7d
system/HTTP/RedirectResponse.php
@@ -93,8 +93,8 @@ public function withInput()
93
{
94
$session = service('session');
95
$session->setFlashdata('_ci_old_input', [
96
- 'get' => is_array($_GET) ? $_GET : [],
97
- 'post' => is_array($_POST) ? $_POST : [],
+ 'get' => isset($_GET) ? $_GET : [],
+ 'post' => isset($_POST) ? $_POST : [],
98
]);
99
100
$this->withErrors();
0 commit comments