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

Bad variable name in mod/wiki/filesedit.php

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 2.8.6
    • Fix Version/s: None
    • Component/s: Wiki (2.x)
    • Labels:
      None
    • Affected Branches:
      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

              • Assignee:
                Unassigned
                Reporter:
                c.d.smith Clem Smith
                Participants:
                Component watchers:
                Amaia Anabitarte, Bas Brands, Carlos Escobedo, Sara Arjona (@sarjona), Víctor Déniz Falcón
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: