diff --git a/src/Symfony/Component/PropertyAccess/StringUtil.php b/src/Symfony/Component/PropertyAccess/StringUtil.php index 354d164a05..9dc74dd2e5 100644 --- a/src/Symfony/Component/PropertyAccess/StringUtil.php +++ b/src/Symfony/Component/PropertyAccess/StringUtil.php @@ -188,7 +188,7 @@ class StringUtil } // Convert teeth to tooth, feet to foot - if (false !== ($pos = strpos($plural, 'ee'))) { + if (false !== ($pos = strpos($plural, 'ee')) && strlen($plural) > 3) { return substr_replace($plural, 'oo', $pos, 2); }