From: defacer Date: Thu, 17 Jun 2004 08:21:09 +0000 (+0000) Subject: Small fix: removed one notice X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=76416b4bacf35ee3ee42289bb68cd6322036f66f;p=moodle.git Small fix: removed one notice --- diff --git a/calendar/event.php b/calendar/event.php index 1a31d416f9..1b44b1da76 100644 --- a/calendar/event.php +++ b/calendar/event.php @@ -221,7 +221,7 @@ switch($_REQUEST['action']) { case 'delete': - if($_REQUEST['confirm'] == 1) { + if(!empty($_REQUEST['confirm']) && $_REQUEST['confirm'] == 1) { // Kill it and redirect to day view if(($event = get_record('event', 'id', $_REQUEST['id'])) !== false) { /// Log the event delete.