1
0
mirror of synced 2025-01-29 19:41:45 +03:00
This commit is contained in:
zYne 2007-05-31 21:06:11 +00:00
parent 148fc615c0
commit a5ab96546e
2 changed files with 4 additions and 3 deletions

View File

@ -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.

View File

@ -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