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

$cache->get($key) returns value 1 incorrectly, at purify_html function

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Duplicate
    • 2.6.1
    • None
    • Caching
    • None
    • MOODLE_26_STABLE

    Description

      The $filteredtext = $cache->get($key) method, at line 1736 in /lib/weblib.php, incorrectly returns value 1 instead of true boolean value, when someone try to edit a post in a forum

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              jose.antonio.rodriguez jose antonio rodriguez
              Matteo Scaramuccia, David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: