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

Incorrect phpdoc for forum_clean_search_terms function

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 1.9.2, 2.0
    • 2.6.4, 2.7.1
    • Forum
    • MOODLE_19_STABLE, MOODLE_20_STABLE
    • MOODLE_26_STABLE, MOODLE_27_STABLE
    • MDL-18162-master
    • Easy
    • Hide

      Nothing to test - documentation only fix.

      • Open mod/forum/search.php and find the forum_clean_search_terms function
        • Check that myself, the peer reviewer, and the integrator are not insane and can correctly identify a string
      Show
      Nothing to test - documentation only fix. Open mod/forum/search.php and find the forum_clean_search_terms function Check that myself, the peer reviewer, and the integrator are not insane and can correctly identify a string

    Description

      The documentation for the forum_clean_search_terms function indicates that it returns an array. However, in reality, it returns a string.

      Attachments

        Issue Links

          Activity

            People

              dobedobedoh Andrew Lyons
              hchathi Hubert Chathi
              Ankit Agarwal Ankit Agarwal
              Sam Hemelryk Sam Hemelryk
              Rajesh Taneja Rajesh Taneja
              Adrian Greeve, Ilya Tregubov, Kevin Percy, Mathew May, Mihail Geshoski, Shamim Rezaie
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                14/Jul/14