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

Gradebook error when there are no students

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 1.5
    • Fix Version/s: None
    • Component/s: Gradebook
    • Labels:
      None
    • Environment:
      Mac OS X
    • Database:
      MySQL
    • Affected Branches:
      MOODLE_15_STABLE

      Description

      I get the following error in the gradebook when no students are enrolled in the course and advanced features are turned off:

      Warning: ksort() expects parameter 1 to be array, null given in /Users/bryce/Sites/moodle/grade/lib.php on line 1659

        Gliffy Diagrams

          Attachments

            Activity

            Hide
            dougiamas Martin Dougiamas added a comment -

            From Shane Elliott (shane at pukunui.com) Monday, 6 June 2005, 08:43 AM:

            Thanks.

            Fixed in CVS.

            Show
            dougiamas Martin Dougiamas added a comment - From Shane Elliott (shane at pukunui.com) Monday, 6 June 2005, 08:43 AM: Thanks. Fixed in CVS.
            Hide
            mblake Michael Blake added a comment -

            assign to a valid user

            Show
            mblake Michael Blake added a comment - assign to a valid user

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: