Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-23580

Unneeded tags and other junk printed in course overview

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 1.9.13, 2.0.4, 2.1.1
    • 1.9.9, 2.0, 2.1, 2.2
    • General
    • None

      In admin/report/courseoverview/index.php, if the report doesn't generate any data (such as on our test server), you get some unneeded tags and some other junk (debugging message?).

      The offending code is in that file on line 83 and is a whopping 3.5 years old: http://git.moodle.org/gw?p=moodle.git;a=commitdiff;h=e524c0ed56125ecdafd24f868848b9eebffc99f7

      It looks like cvshead has it as well, on line 88.

      You can remove everything after the call to notify() and it works just fine here.

            poltawski Dan Poltawski
            jk3us Jay Knight (Inactive)
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.