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

rcache bit wrong in set_field

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.8.5, 1.9
    • 1.8.6, 1.9.1
    • Database SQL/XMLDB
    • None
    • MOODLE_18_STABLE, MOODLE_19_STABLE
    • MOODLE_18_STABLE, MOODLE_19_STABLE

    Description

      It was doing

      if ($field1 == 'id')

      { rcache_unset($table, $value1); } else if ($field2 == 'id') { rcache_unset($table, $value1); }

      else if ($field3 == 'id')

      { rcache_unset($table, $value1); }

      else

      { rcache_unset_table($table); }

      The second and third of those should be using $value2 and $value3.

      Attachments

        Issue Links

          Activity

            People

              timhunt Tim Hunt
              timhunt Tim Hunt
              Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                15/May/08