Merge branch 'w14_MDL-39028_m25_sqlsrconcat' of git://github.com/skodak/moodle

This commit is contained in:
Eloy Lafuente (stronk7)
2013-04-09 02:17:56 +02:00
+1 -1
View File
@@ -1241,7 +1241,7 @@ class sqlsrv_native_moodle_database extends moodle_database {
$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);