MDL-25144 Fixed SQL causing error in MSSQL

This commit is contained in:
David Mudrak 2010-11-12 16:07:05 +00:00
parent 498bd1f3ba
commit ece4c57879

View file

@ -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";