mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 09:06:17 +00:00
Adding fix for Status singular inflection
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4353 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
69fc957fd3
commit
719cd36729
1 changed files with 1 additions and 0 deletions
|
@ -202,6 +202,7 @@ class Inflector extends Object {
|
|||
|
||||
$_this =& Inflector::getInstance();
|
||||
$coreSingularRules = array('/(s)tatuses$/i' => '\1\2tatus',
|
||||
'/(s)tatus$/i' => '\1\2tatus',
|
||||
'/(matr)ices$/i' => '\1ix',
|
||||
'/(vert|ind)ices$/i' => '\1ex',
|
||||
'/^(ox)en/i' => '\1',
|
||||
|
|
Loading…
Add table
Reference in a new issue