]> git.mjollnir.org Git - moodle.git/commitdiff
merged fix for MDL-10353, after setting preferences user should return to same course...
authortoyomoyo <toyomoyo>
Thu, 4 Oct 2007 05:13:28 +0000 (05:13 +0000)
committertoyomoyo <toyomoyo>
Thu, 4 Oct 2007 05:13:28 +0000 (05:13 +0000)
calendar/preferences.php

index 806c618af2d18c8796e85f497b2e7a5b065a1fb2..98fd0912bbc3cc63e65cbeaf26e32999e8c7c641 100644 (file)
@@ -49,7 +49,7 @@
                 break;
             }
         }
-        redirect('view.php', get_string('changessaved'), 1);
+        redirect('view.php?course='.$course->id, get_string('changessaved'), 1);
         exit;
     }