We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 0900942 + 393e44e commit 1c42062Copy full SHA for 1c42062
1 file changed
system/Validation/Validation.php
@@ -646,7 +646,7 @@ public function getErrors(): array
646
// passed along from a redirect_with_input request.
647
if (empty($this->errors) && ! is_cli())
648
{
649
- if (isset($_SESSION) && session('_ci_validation_errors'))
+ if (isset($_SESSION) && $errors = session('_ci_validation_errors'))
650
651
$this->errors = unserialize($errors);
652
}
0 commit comments