MDL-41485 calendar: Replace value of action buttons on managesubscription page with int

This commit is contained in:
Ankit Agarwal 2013-08-29 14:54:26 +08:00
parent d2aa53be1b
commit ee74a2a19e
3 changed files with 17 additions and 9 deletions

View file

@ -33,7 +33,7 @@ $courseid = optional_param('course', SITEID, PARAM_INT);
// Used for processing subscription actions.
$subscriptionid = optional_param('id', 0, PARAM_INT);
$pollinterval = optional_param('pollinterval', 0, PARAM_INT);
$action = optional_param('action', '', PARAM_ALPHA);
$action = optional_param('action', '', PARAM_INT);
$url = new moodle_url('/calendar/managesubscriptions.php');
if ($courseid != SITEID) {