Uploaded image for project: 'Plugins'
  1. Plugins
  2. CONTRIB-2584

unable to revert to old page version

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.9
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Difficulty:
      Easy
    • Affected Branches:
      MOODLE_19_STABLE

      Description

      After choosing a version to revert to (in the History page)
      I get a page asking me to confirm the revert operation.
      Clicking the confirm button does not revert to the selected version
      and display the page again.

      Changing revert.php line 36 from:

      if($confirmed) { 

      To:

      if($confirmed or $_POST['confirm']) { 

      Solved this issue.

      I am using version 2010042201

        Attachments

          Activity

            People

            Assignee:
            quen Sam Marshall
            Reporter:
            nadavkav Nadav Kavalerchik
            Participants:
            Component watchers:
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: