Commit 32392d9a authored by Jonathan.Wage's avatar Jonathan.Wage

fixes #473

parent 562a4876
......@@ -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)));
}
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment