Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
syncEnrollments
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Yeray Santana Hualde
syncEnrollments
Commits
a3e0c7c0
Commit
a3e0c7c0
authored
Apr 10, 2012
by
Taylor Otwell
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #522 from kloy/master
Custom validation messages in language file fix.
parents
9ee9e7bb
53e8f9b7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
validator.php
laravel/validator.php
+8
-8
No files found.
laravel/validator.php
View file @
a3e0c7c0
...
@@ -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
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment