Moodle
  1. Moodle
  2. MDL-25727

Course Overview doesn't show the graph of stats

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0.2
    • Component/s: Administration
    • Labels:
      None
    • Environment:
      PSQL, Linux, Moodle: 2.0 (Build: 20101214)
    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE
    • Rank:
      15357

      Description

      In the courseoverview report, the graph doesn't show because of a simple error :-

      diff --git a/admin/report/courseoverview/reportsgraph.php b/admin/report/courseoverview/reportsgraph.php
      index 471ffc0..45ea7d8 100644
      — a/admin/report/courseoverview/reportsgraph.php
      +++ b/admin/report/courseoverview/reportsgraph.php
      @@ -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');

        Activity

        Hide
        Dan Poltawski added a comment -

        Thanks, i've tested this and created PULL-58 to get this merged upstream

        Show
        Dan Poltawski added a comment - Thanks, i've tested this and created PULL-58 to get this merged upstream
        Hide
        Petr Škoda added a comment -

        closing, thanks

        Show
        Petr Škoda added a comment - closing, thanks

          People

          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: