Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
calling getConcatExpression using call_user_func_array as number of a…
…rguments is not known removing dependency to patch DBAL
  • Loading branch information
broncha committed Feb 26, 2013
1 parent 7dac400 commit 3a3d053
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Doctrine/ORM/Query/AST/Functions/ConcatFunction.php
Expand Up @@ -49,7 +49,7 @@ public function getSql(\Doctrine\ORM\Query\SqlWalker $sqlWalker)
$args[] = $sqlWalker->walkStringPrimary($expression);
}

return $platform->getConcatExpression($args);
return call_user_func_array(array($platform,'getConcatExpression'), $args);
}

/**
Expand Down

0 comments on commit 3a3d053

Please sign in to comment.