Commit f31dea55 authored by Julien Fastré's avatar Julien Fastré

correct sql expression

parent a6455020
...@@ -149,7 +149,7 @@ Then you can override the methods convertToPhpValueSQL and convertToDatabaseValu ...@@ -149,7 +149,7 @@ Then you can override the methods convertToPhpValueSQL and convertToDatabaseValu
<?php <?php
public function convertToPHPValueSQL($sqlExpr, $platform) public function convertToPHPValueSQL($sqlExpr, $platform)
{ {
return 'MyMoneyFunction(\''.$sqlExpr.') '; return 'MyMoneyFunction(\''.$sqlExpr.'\') ';
} }
public function convertToDatabaseValueSQL($sqlExpr, AbstractPlatform $platform) public function convertToDatabaseValueSQL($sqlExpr, AbstractPlatform $platform)
......
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