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

filter_emailprotect calls preg_replace_callback with function that doesn't exist.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 4.5
    • 4.5
    • Filters

      preg_replace_callback(): Argument #2 ($callback) must be a valid callback, function "filter_emailprotect_alter_mailto" 

      https://github.com/moodle/moodle/blob/master/filter/emailprotect/classes/text_filter.php#L42

       

      removed in MDL-82427  and a new line added to use the new funtion "alter_mailto" but the old line left in place.

            dobedobedoh Andrew Lyons
            danmarsden Dan Marsden
            Dan Marsden Dan Marsden
            Jun Pataleta Jun Pataleta
            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 - 25 minutes
                25m

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