1
0
mirror of synced 2025-01-17 22:11:41 +03:00
This commit is contained in:
Jonathan.Wage 2007-11-27 03:45:30 +00:00
parent 562a48769c
commit 32392d9ad1

View File

@ -1069,9 +1069,9 @@ final class Doctrine
* @param string $tablename
* @return string
*/
public static function classify($tablename)
public static function classify($tableName)
{
return preg_replace_callback('~(_?)(_)([\w])~', array("Doctrine", "classifyCallback"), ucfirst($tablename));
return preg_replace_callback('~(_?)(_)([\w])~', array("Doctrine", "classifyCallback"), ucfirst(strtolower($tableName)));
}
/**