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 1b8c491 commit 9f570c9Copy full SHA for 9f570c9
system/Validation/Validation.php
@@ -608,7 +608,7 @@ public function getErrors(): array
608
// If we already have errors, we'll use those.
609
// If we don't, check the session to see if any were
610
// passed along from a redirect_with_input request.
611
- if (empty($this->errors))
+ if (empty($this->errors) && ! is_cli())
612
{
613
// Start up the session if it's not already
614
if ( ! isset($_SESSION))
0 commit comments