Merge branch 'w14_MDL-39022_m25_mssqlconcat' of git://github.com/skodak/moodle
This commit is contained in:
@@ -1176,7 +1176,7 @@ class mssql_native_moodle_database extends moodle_database {
|
||||
public function sql_concat() {
|
||||
$arr = func_get_args();
|
||||
foreach ($arr as $key => $ele) {
|
||||
$arr[$key] = ' CAST(' . $ele . ' AS VARCHAR(255)) ';
|
||||
$arr[$key] = ' CAST(' . $ele . ' AS NVARCHAR(255)) ';
|
||||
}
|
||||
$s = implode(' + ', $arr);
|
||||
if ($s === '') {
|
||||
|
||||
Reference in New Issue
Block a user