Ticket #665 (closed Bug: fixed)
inflector::plural("news") differs from inflector::plural("News")
| Reported by: | rafaelss | Owned by: | Shadowhand |
|---|---|---|---|
| Priority: | minor | Milestone: | 2.2 |
| Component: | Helpers | Version: | SVN HEAD |
| Keywords: | helper inflector plural strtolower | Cc: |
Description
When I use inflector::plural with string in lowercase, it's works fine, but not if string contains letter in uppercase
To solve this, I change method inflector::uncountable putting $str param in lowercase when checking if index of array exists
Attachments
Change History
Note: See
TracTickets for help on using
tickets.
