Merge branch 'MDL-25822' of git://git.luns.net.uk/moodle
authorPetr Skoda <commits@skodak.org>
Mon, 3 Jan 2011 16:53:51 +0000 (17:53 +0100)
committerPetr Skoda <commits@skodak.org>
Mon, 3 Jan 2011 16:53:51 +0000 (17:53 +0100)
admin/report/courseoverview/reportsgraph.php

index 471ffc0..45ea7d8 100644 (file)
@@ -27,7 +27,7 @@
               ORDER BY $param->orderby";
     }
 
-    $courses = $DB->get_records_sql($sql, $param->$params, 0, $numcourses);
+    $courses = $DB->get_records_sql($sql, $param->params, 0, $numcourses);
 
     if (empty($courses)) {
         $PAGE->set_url('/admin/report/courseoverview/index.php');