mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
MDL-41485 calendar: Replace value of action buttons on managesubscription page with int
This commit is contained in:
parent
d2aa53be1b
commit
ee74a2a19e
3 changed files with 17 additions and 9 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue