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.
2 parents 6e4a591 + 9f570c9 commit a6fd7a1Copy full SHA for a6fd7a1
system/Validation/Validation.php
@@ -613,7 +613,7 @@ public function getErrors(): array
613
// If we already have errors, we'll use those.
614
// If we don't, check the session to see if any were
615
// passed along from a redirect_with_input request.
616
- if (empty($this->errors))
+ if (empty($this->errors) && ! is_cli())
617
{
618
// Start up the session if it's not already
619
if ( ! isset($_SESSION))
0 commit comments