Moodle
  1. Moodle
  2. MDL-3424

Gradebook error when there are no students

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Trivial 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
    • Rank:
      14399

      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

        Activity

        Hide
        Martin Dougiamas added a comment -

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

        Thanks.

        Fixed in CVS.

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

        assign to a valid user

        Show
        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: