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

Typo causes wrong variable to be declared in 2.0 wiki

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial
    • Resolution: Duplicate
    • Affects Version/s: 2.0.1
    • Fix Version/s: None
    • Component/s: Wiki (2.x)
    • Labels:
    • Difficulty:
      Easy
    • Affected Branches:
      MOODLE_20_STABLE

      Description

      The variable $newcontent isn't properly declared in edit.php, which triggers a NOTICE every time edit.php is called. I'm not aware of any downstream effects.

      The code on line 48 sets "$newconent". Adding a 't' should be sufficient. I'm not writing an actual patch for something this trivial .

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              cfulton Charles Fulton
              Reporter:
              cfulton Charles Fulton
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona)
              Votes:
              3 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: