Wednesday, December 28, 2011

Re: Cake 1.3.11: Wrong singular of 'encounter_foes'

your expectation would be "encounter_foe", right?


On 28 Dez., 14:06, Zaphod <beckerma2...@googlemail.com> wrote:
> Hi there,
>
> I think there's a bug in 1.3.11 which converts a link of '/
> encounter_foes' to the singular form 'encounter_fo' to get to the
> model.
> I did some research and found that line 123 of inflector.php is
> responsible:
> '/(o)es$/i' => '\1',
>
> I commented it out and it worked now, but I'm not sure what for this
> line was? Truely english is not my mother tongue.
>
> Have a nice day
> - Zaphod -

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

No comments: