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

Incorrect logic in question_bank::load_many_for_cache

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.6.7, 3.7.3
    • 3.6.6, 3.7.2, 3.8
    • Questions

      Eloy spotted this while working on MDL-66968.

      https://github.com/moodle/moodle/blob/aaff6692a1aa1827cb5c1c69910302d8cbf99379/question/engine/bank.php#L613 should be if (!array_key_exists($id, $questiondata)).

            timhunt Tim Hunt
            timhunt Tim Hunt
            Jan Dageförde Jan Dageförde
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            CiBoT CiBoT
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

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

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