Uploaded image for project: 'Plugins'
  1. Plugins
  2. CONTRIB-1075 META: Make improvements to NEWMODULE.zip
  3. CONTRIB-2583

line 56 of NEWMODULE/view.php uses an URL not well written

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0.1
    • Component/s: Module: Newmodule
    • Labels:
      None
    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE

      Description

      as far as I understand
      line 56 of NEWMODULE/view.php should be changed from
      $PAGE->set_url('mod/NEWMODULE/view.php', array('id' => $cm->id));
      to
      $PAGE->set_url('/mod/NEWMODULE/view.php', array('id' => $cm->id));
      otherwise an error message rises up

        Attachments

          Activity

            People

            Assignee:
            mudrd8mz David Mudrák (@mudrd8mz)
            Reporter:
            daniss Daniele Cordella
            Participants:
            Component watchers:
            David Mudrák (@mudrd8mz)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              25/Dec/10