diff --git a/lib/Doctrine/Inflector.php b/lib/Doctrine/Inflector.php index abfd25bf9..e523409f9 100644 --- a/lib/Doctrine/Inflector.php +++ b/lib/Doctrine/Inflector.php @@ -864,7 +864,7 @@ class Doctrine_Inflector preg_replace('/([A-Z]+)([A-Z][a-z])/', '\1_\2', preg_replace('/::/', '/', $text))))); - return trim($text); + return trim($text, '-'); } /**