Fixed missing quotes on Doctrine::classify()
This commit is contained in:
parent
3adb4338b1
commit
843711bc32
1 changed files with 1 additions and 1 deletions
|
@ -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));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|
Loading…
Add table
Reference in a new issue