diff --git a/Doctrine.php b/Doctrine.php index d9bda9dcf..ec5254a72 100644 --- a/Doctrine.php +++ b/Doctrine.php @@ -436,7 +436,7 @@ class DQLException extends Exception { } * @return string */ public static function classify($tablename) { - return preg_replace('~(_?)(_)([\w])~e', '"$1".strtoupper($3)', ucfirst($tablename)); + return preg_replace('~(_?)(_)([\w])~e', '"$1".strtoupper("$3")', ucfirst($tablename)); } } ?>