Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Correct the param label from param2 to param3 for rule "matches"Correct the param label from param2 to param3 #226

Closed
wants to merge 1 commit into from

4 participants

lanisle Kohana Builds Woody Gilk Lorenzo Pisani
lanisle

EXAMPLE:

rule('password_confirm', 'matches', array(':validation', ':field', 'password')

if not. When the rule is failed it will cause error "password confirm must be the same as password confirm"

lanisle lanisle Correct the param label from param2 to param3. EXAMPLE: if not, rule(…
…'password_confirm', 'matches', array(':validation', ':field', 'password') will ouput "password confirm must be the same as password confirm"
886f03f
Kohana Builds
Collaborator

Build Scheduled

Woody Gilk
Owner

Please modify the unit tests that are failing.

Lorenzo Pisani
Owner

I think this is functional in the latest 3.3 version, let me know if I misunderstood the issue.

Lorenzo Pisani Zeelot closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Feb 28, 2012
  1. lanisle

    Correct the param label from param2 to param3. EXAMPLE: if not, rule(…

    lanisle authored
    …'password_confirm', 'matches', array(':validation', ':field', 'password') will ouput "password confirm must be the same as password confirm"
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  messages/validation.php
2  messages/validation.php
View
@@ -15,7 +15,7 @@
'exact_length' => ':field must be exactly :param2 characters long',
'in_array' => ':field must be one of the available options',
'ip' => ':field must be an ip address',
- 'matches' => ':field must be the same as :param2',
+ 'matches' => ':field must be the same as :param3',
'min_length' => ':field must be at least :param2 characters long',
'max_length' => ':field must not exceed :param2 characters long',
'not_empty' => ':field must not be empty',
Something went wrong with that request. Please try again.