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

Incorrect phpdoc for forum_clean_search_terms function

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 1.9.2, 2.0
    • Fix Version/s: 2.6.4, 2.7.1
    • Component/s: Forum
    • Labels:
    • Testing Instructions:
      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
    • Difficulty:
      Easy
    • Affected Branches:
      MOODLE_19_STABLE, MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_26_STABLE, MOODLE_27_STABLE
    • Pull Master Branch:
      MDL-18162-master

      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

              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  14/Jul/14