This commit is contained in:
parent
148fc615c0
commit
a5ab96546e
@ -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.
|
||||||
|
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user