Moodle
  1. Moodle
  2. MDL-863

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

    Details

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

      Description

      Just a minor issue

      Should be:

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

      Instead of:

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

        Activity

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