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

result set validitiy isnt always being done correctly in gradebook

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not a bug
    • Icon: Critical Critical
    • None
    • 2.0.3
    • Gradebook

      resultset objects cannot be tested for validity like this

      if (!$this->users_rs) {

      It should be done something like this

      if (!$this->users_rs->valid()) {

      Check the gradebook to make sure that there arent any remaining instances of improper checking remaining.

            andyjdavis Andrew Davis
            andyjdavis Andrew Davis
            Sam Hemelryk Sam Hemelryk
            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.