mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-09 18:26:32 +02:00
[ticket/10942] Use ANSI SQL standard || in dbal.php
PHPBB3-10942
This commit is contained in:
@@ -311,7 +311,7 @@ class dbal
|
||||
*/
|
||||
function sql_concatenate($expr1, $expr2)
|
||||
{
|
||||
return 'CONCAT(' . $expr1 . ', ' . $expr2 . ')';
|
||||
return $expr1 . ' || ' . $expr2;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user