1
0
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:
Joas Schilling
2012-07-02 23:11:21 +02:00
parent ad9d650659
commit fe1f21d1a5
6 changed files with 17 additions and 25 deletions

View File

@@ -311,7 +311,7 @@ class dbal
*/
function sql_concatenate($expr1, $expr2)
{
return 'CONCAT(' . $expr1 . ', ' . $expr2 . ')';
return $expr1 . ' || ' . $expr2;
}
/**