This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

correct sql expression

  • Loading branch information...
julienfastre committed Mar 3, 2012
1 parent a645502 commit f31dea55d3f5113ab5a04e4a1015bfdd89b90555
Showing with 1 addition and 1 deletion.
  1. +1 −1 en/reference/types.rst
View
@@ -149,7 +149,7 @@ Then you can override the methods convertToPhpValueSQL and convertToDatabaseValu
<?php
public function convertToPHPValueSQL($sqlExpr, $platform)
{
- return 'MyMoneyFunction(\''.$sqlExpr.') ';
+ return 'MyMoneyFunction(\''.$sqlExpr.'\') ';
}
public function convertToDatabaseValueSQL($sqlExpr, AbstractPlatform $platform)

0 comments on commit f31dea5

Please sign in to comment.