From 3a0f99f6372c108c0f1f1ab4f4edbed42dc8897b Mon Sep 17 00:00:00 2001 From: jwage Date: Tue, 22 Jan 2008 23:12:29 +0000 Subject: [PATCH] fixes #701 --- lib/Doctrine/Inflector.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, '-'); } /**