Browse files

MDL-26348 tool_customlang: Fixed up SQL causing issues in Oracle

  • Loading branch information...
1 parent ccd90e7 commit 6a3b5e896d87f216783406a7c4d0c155386a1b6e Sam Hemelryk committed Oct 4, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 admin/tool/customlang/locallib.php
View
2 admin/tool/customlang/locallib.php
@@ -488,7 +488,7 @@ public function __construct(moodle_url $handler, $lang, $filter, $currentpage =
list($insql, $inparams) = $DB->get_in_or_equal($filter->component, SQL_PARAMS_NAMED);
$csql = "SELECT COUNT(*)";
- $fsql = "SELECT s.id, s.*, c.name AS component";
+ $fsql = "SELECT s.*, c.name AS component";
$sql = " FROM {tool_customlang_components} c
JOIN {tool_customlang} s ON s.componentid = c.id
WHERE s.lang = :lang

0 comments on commit 6a3b5e8

Please sign in to comment.