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

Grade Calculation not working with = sign in IF statements

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not a bug
    • Icon: Minor Minor
    • None
    • 4.1 regressions, 4.3.4
    • Gradebook
    • None
    • MOODLE_403_STABLE

      If I am adding an IF statement into a grade book calculation, I am noticing that when I try and do a simple = it does not accept the formula. Here is a set up using a less than which works:

       

      But if I try and change the less than to an equals I get the following:

       

      I have tested this in both Moodle 4.3 and Moodle 4.1 and have the same situation.

      I assume that an = should work in an IF statement....?

        1. Equals.png
          Equals.png
          41 kB
        2. LessThan.png
          LessThan.png
          39 kB

            Unassigned Unassigned
            davefoord Dave Foord
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 13 minutes
                13m

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.