diff --git a/mod/forum/classes/event/subscription_created.php b/mod/forum/classes/event/subscription_created.php index e5af00fb111..19d53ac8903 100644 --- a/mod/forum/classes/event/subscription_created.php +++ b/mod/forum/classes/event/subscription_created.php @@ -77,7 +77,7 @@ class subscription_created extends \core\event\base { * @return \moodle_url */ public function get_url() { - return new \moodle_url('/mod/forum/view.php', array('f' => $this->other['forumid'])); + return new \moodle_url('/mod/forum/subscribers.php', array('id' => $this->other['forumid'])); } /** diff --git a/mod/forum/classes/event/subscription_deleted.php b/mod/forum/classes/event/subscription_deleted.php index 738a5c0e0ad..f011059448c 100644 --- a/mod/forum/classes/event/subscription_deleted.php +++ b/mod/forum/classes/event/subscription_deleted.php @@ -77,7 +77,7 @@ class subscription_deleted extends \core\event\base { * @return \moodle_url */ public function get_url() { - return new \moodle_url('/mod/forum/view.php', array('f' => $this->other['forumid'])); + return new \moodle_url('/mod/forum/subscribers.php', array('id' => $this->other['forumid'])); } /**