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

Rated forum gives error about empty array

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.9.3
    • Fix Version/s: 1.9.5
    • Component/s: Forum
    • Labels:
      None
    • Affected Branches:
      MOODLE_19_STABLE
    • Fixed Branches:
      MOODLE_19_STABLE

      Description

      With a rated forum, with ratings set to maximum grade achieved, I get the following error just above the ratings box in a post submitted by a student which is yet to be graded:

      Warning: max() [function.max]: Array must contain atleast one element in E:\Moodle_webserver\moodle\mod\forum\lib.php on line 3355

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  13/May/09