1
0
mirror of synced 2025-01-30 12:01:44 +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) public function concat($args)
{ {
$cols = $this->getIdentifiers($args); $args = func_get_args();
return 'CONCAT(' . join(', ', (array) $cols) . ')';
return 'CONCAT(' . join(', ', (array) $args) . ')';
} }
/** /**
* Returns the SQL for a logical not. * Returns the SQL for a logical not.

View File

@ -62,7 +62,7 @@ class Doctrine_Expression_Sqlite extends Doctrine_Expression
public static function concatImpl() public static function concatImpl()
{ {
$args = func_get_args(); $args = func_get_args();
return join( '', $args ); return join('', $args);
} }
/** /**
* locate * locate