[BugFix] Bug #4216 - cancel button

This commit is contained in:
michaelpenne
2006-02-24 19:09:14 +00:00
parent 4c5d208a3e
commit ee27cca526
+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();