1
0
mirror of synced 2025-03-28 02:43:55 +03:00

Fixed missing quotes on Doctrine::classify()

This commit is contained in:
amadeus 2006-08-22 20:23:29 +00:00
parent 3adb4338b1
commit 843711bc32

View File

@ -436,7 +436,7 @@ class DQLException extends Exception { }
* @return string * @return string
*/ */
public static function classify($tablename) { 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));
} }
} }
?> ?>