courseoverview report MDL-25727 Graphs Broken
authorTim Lock <tim@netspot.com.au>
Thu, 30 Dec 2010 09:41:55 +0000 (09:41 +0000)
committerDan Poltawski <dan.poltawski@luns.net.uk>
Thu, 30 Dec 2010 09:50:21 +0000 (09:50 +0000)
Typo preventing graphs from displaying

Signed-off-by: Dan Poltawski <dan.poltawski@luns.net.uk>
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');