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

In Workshop: Grades are shown even if grading strategy is 0

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 1.1.1
    • Fix Version/s: None
    • Component/s: Workshop
    • Labels:
      None
    • Environment:
      All
    • Affected Branches:
      MOODLE_11_STABLE

      Description

      Just a minor issue

      Should be:

      if ($showgrades and $assessment->grade > 0) {

      Instead of:

      if ($showgrades and $assessment->grade >= 0) {

        Gliffy Diagrams

          Attachments

            Activity

            Hide
            dougiamas Martin Dougiamas added a comment -

            From Ray Kingdon (rkingdon at glam.ac.uk) Monday, 8 December 2003, 05:23 PM:

            Thanks for this, fixed in CVS.

            Show
            dougiamas Martin Dougiamas added a comment - From Ray Kingdon (rkingdon at glam.ac.uk) Monday, 8 December 2003, 05:23 PM: Thanks for this, 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: