Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

MDL-25249 calendar: Fixed regression in set.php

  • Loading branch information...
commit 364f43b0b48d78bfa7f67010b4aa3f7f82ac1f10 1 parent 797cedc
Sam Hemelryk samhemelryk authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  calendar/set.php
2  calendar/set.php
View
@@ -41,7 +41,7 @@
require_once('../config.php');
require_once($CFG->dirroot.'/calendar/lib.php');
-$from = required_param('return', PARAM_ALPHA);
+$return = required_param('return', PARAM_URL);
$var = required_param('var', PARAM_ALPHA);
$url = new moodle_url('/calendar/set.php', array('return'=>$return,'var'=>$var));
Please sign in to comment.
Something went wrong with that request. Please try again.