Skip to content

Commit

Permalink
Revert date_add Postgres param bound
Browse files Browse the repository at this point in the history
  • Loading branch information
Ladislav Gallay committed Jul 1, 2015
1 parent 4c7ff42 commit 6718490
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Database/Dialect/PostgresDialectTrait.php
Expand Up @@ -135,7 +135,7 @@ protected function _transformFunctionExpression(FunctionExpression $expression)
->type(' + INTERVAL')
->iterateParts(function ($p, $key) {
if ($key === 1) {
$p = ['value' => $p, 'type' => null];
$p = sprintf("'%s'", $p);
}
return $p;
});
Expand Down

0 comments on commit 6718490

Please sign in to comment.