From 1ea183a0f7b3e70ed5c1a682605b5dc1265041f2 Mon Sep 17 00:00:00 2001 From: Georg Ehrke Date: Sat, 1 Oct 2011 21:09:08 +0200 Subject: fix duration bug --- apps/calendar/ajax/moveevent.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'apps/calendar') diff --git a/apps/calendar/ajax/moveevent.php b/apps/calendar/ajax/moveevent.php index f380fe9bf29..e2b777969da 100644 --- a/apps/calendar/ajax/moveevent.php +++ b/apps/calendar/ajax/moveevent.php @@ -70,8 +70,10 @@ if(strlen($newdate) > 10){ $allday = true; $newdatestringarray[1] = "00:00"; }else{ + if($allday == true){ + $difference = 3600; + } $allday = false; - $difference = 3600; } }else{ $newdatestringarray = array(); -- cgit v1.2.3