Commit a3e0c7c0 authored by Taylor Otwell's avatar Taylor Otwell

Merge pull request #522 from kloy/master

Custom validation messages in language file fix.
parents 9ee9e7bb 53e8f9b7
...@@ -692,7 +692,7 @@ class Validator { ...@@ -692,7 +692,7 @@ class Validator {
{ {
return $this->messages[$custom]; 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); return Lang::line($custom)->get($this->language);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment