Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-75976 META: Calls passing nulls to built in functions not accepting nulls
  3. MDL-75200

Function clean_param() must work correctly if null is passed as argument on PHP 8.1

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Fixed
    • Icon: Minor Minor
    • 4.1
    • 4.0.2
    • Other

      In PHP 8.1 various functions (i.e. trim, preg_match, etc) show debugging message if null is passed as an argument

      Make sure clean_param() does not show debugging messages when executed on null

      Also fixed here: get_string, unformat_float, html_is_blank

            marina Marina Glancy
            marina Marina Glancy
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Andrew Lyons Andrew Lyons
            CiBoT CiBoT
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

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

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