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

lib/pear/HTML/QuickForm/date.php needs to fix curly brace string char accessor for php 7.4

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.9.3, 3.9.4, 3.10.1
    • Fix Version/s: 3.9.5, 3.10.2
    • Component/s: Libraries
    • Labels:

      Description

      $sign = $this->_options['format']{$i};
      

      needs to be changed to

      $sign = $this->_options['format'][$i];
      

        Attachments

        1. test70457.php
          0.3 kB
        2. MDL-70457.jpg
          MDL-70457.jpg
          29 kB

          Activity

            People

            Assignee:
            stronk7 Eloy Lafuente (stronk7)
            Reporter:
            jameskinsman James Kinsman
            Peer reviewer:
            Sara Arjona (@sarjona) Sara Arjona (@sarjona)
            Integrator:
            Jun Pataleta Jun Pataleta
            Tester:
            Anna Carissa Sadia Anna Carissa Sadia
            Participants:
            Component watchers:
            Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona)
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              8/Mar/21

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 3 hours, 35 minutes
                3h 35m