Permalink
Browse files

[BugFix] Bug #4216 - cancel button

  • Loading branch information...
michaelpenne
michaelpenne committed Feb 24, 2006
1 parent 4c6dc44 commit c200adccf6b06c89500336e7ba8cb0074fdafde2
Showing with 5 additions and 0 deletions.
  1. +5 −0 mod/lesson/action/insertpage.php
@@ -8,6 +8,11 @@
confirm_sesskey();
+ // check to see if the cancel button was pushed
+ if (optional_param('cancel', '', PARAM_ALPHA)) {
+ redirect("view.php?id=$cm->id");
+ }
+
$timenow = time();
$form = data_submitted();

0 comments on commit c200adc

Please sign in to comment.