From d3ea37babcbb7e17b604c34767ac21d160da69d5 Mon Sep 17 00:00:00 2001 From: skeeter Date: Sat, 19 Aug 2000 18:51:51 +0000 Subject: [PATCH] fixed edit_entry.php time parameter --- calendar/inc/functions.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/calendar/inc/functions.inc.php b/calendar/inc/functions.inc.php index 51f21c041c..9aee9df596 100755 --- a/calendar/inc/functions.inc.php +++ b/calendar/inc/functions.inc.php @@ -618,8 +618,8 @@ "year=" . date("Y",$date) . "&month=" . date("m",$date) . "&day=" . date("d",$date) - . "&hour=" . substr($time,0,2) - . "&minute=" . substr($time,2,2)) + . "&hour=" . substr($time,0,strpos($time,":")) + . "&minute=" . substr($time,strpos($time,":")+1,2)) . "\">$time"; if ($rowspan > 1) {