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

feedback multichoice[rated] emits php warnings under php8

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.11.7, 4.0.1
    • 3.11.8, 4.0.2
    • Feedback

    Description

      In a couple of places, the multichoice and multichoicerated feedback item types use the php @ operator to silence what would otherwise emit a message about trying to access an array element that doesn't exist.

      Under php8, this now more loudly emits a PHP Warning.

      Attachments

        Activity

          People

            aolley Adam Olley
            aolley Adam Olley
            Victor Déniz Falcón Victor Déniz Falcón
            Jun Pataleta Jun Pataleta
            CiBoT CiBoT
            Amaia Anabitarte, Bas Brands, Carlos Escobedo, Laurent David, Raquel Ortega, Sabina Abellan, Sara Arjona (@sarjona)
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              11/Jul/22

              Time Tracking

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