Ticket #497 (closed Bug: fixed)
Input name instead of input label in Forge matches() validation
| Reported by: | Sqter | Owned by: | Shadowhand |
|---|---|---|---|
| Priority: | minor | Milestone: | |
| Component: | Modules:Forge | Version: | SVN HEAD |
| Keywords: | forge matches validation | Cc: |
Description
Validation for matches() function outputs $input->name instead of $input->label.
modules/Forge/libraries/Form_Input.php, line 498, function validate:
$this->errors['matches'] = array($input->name);
proposed fix:
$this->errors['matches'] = array($input->label ? utf8::strtolower($input->label) : $input->name);
Change History
Note: See
TracTickets for help on using
tickets.
