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

Forum search by tag generates warning

    XMLWordPrintable

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 3.5.3, 3.6.1, 3.9.2
    • None
    • Forum
    • None
    • MOODLE_35_STABLE, MOODLE_36_STABLE, MOODLE_39_STABLE

    Description

      The forum search (/mod/forum/search.php) is passing an array instead of string to s() when searching using the "is tagged with" feature. The result is no results, and the following warning:

       Warning: htmlspecialchars() expects parameter 1 to be string, array given in {site_location}/lib/weblib.php on line 100

      This does not appear to affect functionality (searching for a valid tag returns a result).

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              michaelh Michael Hawkins
              Adrian Greeve, Ilya Tregubov, Kevin Percy, Mathew May, Mihail Geshoski, Shamim Rezaie
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: