Skip to content
This repository has been archived by the owner on Jul 16, 2023. It is now read-only.

Commit

Permalink
fixing dead reference to old $externalValidator
Browse files Browse the repository at this point in the history
  • Loading branch information
igorsantos07 committed Feb 2, 2016
1 parent ac5eae4 commit 41c4be5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Ardent/Ardent.php
Original file line number Diff line number Diff line change
Expand Up @@ -590,7 +590,7 @@ public function validate(array $rules = array(), array $customMessages = array()
$this->validationErrors = $this->validator->messages();

// stash the input to the current session
if (!self::$externalValidator && Input::hasSession()) {
if (!self::$external && Input::hasSession()) {
Input::flash();
}
}
Expand Down

0 comments on commit 41c4be5

Please sign in to comment.