Fixed missing quotes on Doctrine::classify()
This commit is contained in:
parent
3adb4338b1
commit
843711bc32
@ -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…
x
Reference in New Issue
Block a user