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

              Assignee:
              andyjdavis Andrew Davis
              Reporter:
              andyjdavis Andrew Davis
              Peer reviewer:
              Sam Hemelryk
              Integrator:
              Eloy Lafuente (stronk7)
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: