[BugFix] Bug #4216 - cancel button

This commit is contained in:
michaelpenne
2006-02-24 19:19:11 +00:00
parent 4c6dc44de1
commit c200adccf6
+5
View File
@@ -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();