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

result set validitiy isnt always being done correctly in gradebook

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Not a bug
    • Affects Version/s: 2.0.3
    • Fix Version/s: None
    • Component/s: Gradebook
    • Labels:

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: