Commit a5ab9654 authored by zYne's avatar zYne

--no commit message

--no commit message
parent 148fc615
......@@ -271,8 +271,9 @@ class Doctrine_Expression extends Doctrine_Connection_Module
*/
public function concat($args)
{
$cols = $this->getIdentifiers($args);
return 'CONCAT(' . join(', ', (array) $cols) . ')';
$args = func_get_args();
return 'CONCAT(' . join(', ', (array) $args) . ')';
}
/**
* Returns the SQL for a logical not.
......
......@@ -62,7 +62,7 @@ class Doctrine_Expression_Sqlite extends Doctrine_Expression
public static function concatImpl()
{
$args = func_get_args();
return join( '', $args );
return join('', $args);
}
/**
* locate
......
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