From 76416b4bacf35ee3ee42289bb68cd6322036f66f Mon Sep 17 00:00:00 2001 From: defacer Date: Thu, 17 Jun 2004 08:21:09 +0000 Subject: [PATCH] Small fix: removed one notice --- calendar/event.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. -- 2.39.5