Merge pull request #522 from kloy/master
Custom validation messages in language file fix.
This commit is contained in:
@@ -692,7 +692,7 @@ class Validator {
|
||||
{
|
||||
return $this->messages[$custom];
|
||||
}
|
||||
elseif (Lang::has($custom = "validation.custom.{$custom}", $this->language))
|
||||
elseif (Lang::has($custom = "{$bundle}validation.custom.{$custom}", $this->language))
|
||||
{
|
||||
return Lang::line($custom)->get($this->language);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user