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

Bad variable name in mod/wiki/filesedit.php

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Duplicate
    • 2.8.6
    • None
    • Wiki (2.x)
    • None
    • MOODLE_28_STABLE

    Description

      Line 63 of mod/wiki/filesedit.php has a variable name spelled incorrectly: $refere instead of $referer. This is the affected line of code:

      $refere = clean_param($_SERVER["HTTP_REFERER"], PARAM_LOCALURL);

      This affects at least 2.8 and earlier versions. It probably affects later versions.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              c.d.smith Clem Smith
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: