MDL-25144 Fixed SQL causing error in MSSQL
authorDavid Mudrak <david.mudrak@gmail.com>
Fri, 12 Nov 2010 16:07:05 +0000 (16:07 +0000)
committerDavid Mudrak <david.mudrak@gmail.com>
Fri, 12 Nov 2010 16:07:05 +0000 (16:07 +0000)
admin/report/customlang/locallib.php

index 2d0b200..982c19d 100644 (file)
@@ -111,7 +111,7 @@ class report_customlang_utils {
         $stringman  = get_string_manager();
         $components = $DB->get_records('report_customlang_components');
         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
                      WHERE lang = ? AND componentid = ?
                   ORDER BY stringid";