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

Commit b6dd18d

Browse files
committed
Update Ardent.php
Users of laravel 4.1 branch will get an error when the validator fires. Due to the commit 5a1829f7658a5cf752b97c354fa89386ee60d5dc made to 4.1 framework branch in which hasSessionStore() method has been removed.
1 parent 8ac1128 commit b6dd18d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/LaravelBook/Ardent/Ardent.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -531,7 +531,7 @@ public function validate(array $rules = array(), array $customMessages = array()
531531
$this->validationErrors = $validator->messages();
532532

533533
// stash the input to the current session
534-
if (!self::$externalValidator && Input::hasSessionStore()) {
534+
if (!self::$externalValidator && Input::hasSession()) {
535535
Input::flash();
536536
}
537537
}

0 commit comments

Comments
 (0)