mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 08:26:37 +02:00
MDL-25144 Fixed SQL causing error in MSSQL
This commit is contained in:
parent
498bd1f3ba
commit
ece4c57879
1 changed files with 1 additions and 1 deletions
|
@ -111,7 +111,7 @@ class report_customlang_utils {
|
||||||
$stringman = get_string_manager();
|
$stringman = get_string_manager();
|
||||||
$components = $DB->get_records('report_customlang_components');
|
$components = $DB->get_records('report_customlang_components');
|
||||||
foreach ($components as $component) {
|
foreach ($components as $component) {
|
||||||
$sql = "SELECT stringid, s.*
|
$sql = "SELECT stringid, id, lang, componentid, original, master, local, timemodified, timecustomized, outdated, modified
|
||||||
FROM {report_customlang} s
|
FROM {report_customlang} s
|
||||||
WHERE lang = ? AND componentid = ?
|
WHERE lang = ? AND componentid = ?
|
||||||
ORDER BY stringid";
|
ORDER BY stringid";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue