Commit 843711bc authored by amadeus's avatar amadeus

Fixed missing quotes on Doctrine::classify()

parent 3adb4338
......@@ -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));
}
}
?>
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