Permalink
Browse files

MDL-25249 calendar: Fixed regression in set.php

  • Loading branch information...
1 parent 797cedc commit 364f43b0b48d78bfa7f67010b4aa3f7f82ac1f10 Sam Hemelryk committed Jun 29, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 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));

0 comments on commit 364f43b

Please sign in to comment.