From 167a831615cae4e78c96bb0740e0643874aebd0e Mon Sep 17 00:00:00 2001 From: toyomoyo Date: Thu, 4 Oct 2007 05:12:16 +0000 Subject: [PATCH] MDL-10353, after setting preferences in calendar user should return to same course --- calendar/preferences.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/calendar/preferences.php b/calendar/preferences.php index 048fb999743..64bc3743299 100644 --- a/calendar/preferences.php +++ b/calendar/preferences.php @@ -49,7 +49,7 @@ break; } } - redirect('view.php', get_string('changessaved'), 1); + redirect('view.php?course='.$course->id, get_string('changessaved'), 1); exit; }