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

Custom menu should not be calling format_text on $CFG->custommenuitems

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Critical Critical
    • None
    • 2.1
    • Navigation
    • MOODLE_21_STABLE

      Presently custom_menu::convert_text_to_menu is calling format_text on $CFG->custommenuitems to support multi-lang strings.
      Unfortunately this is causing filtering to occur of the strings and with the autolink filter (or what ever that is called) full URL's are being filtered into html links and stuff is breaking.
      Setting the filter option to false is certainly one solution but perhaps a better solution is to only filter the name of the item rather than the whole CFG variable.

            mudrd8mz David Mudrák (@mudrd8mz)
            samhemelryk Sam Hemelryk
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

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