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

Forum search by tag generates warning

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.5.3, 3.6.1, 3.9.2
    • Fix Version/s: None
    • Component/s: Forum
    • Labels:
      None
    • Affected Branches:
      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

              Assignee:
              Unassigned
              Reporter:
              michaelh Michael Hawkins
              Participants:
              Component watchers:
              Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated: