From 8219516ec0561e6ac0a6b8d43d7526b014b9bce4 Mon Sep 17 00:00:00 2001 From: Georg Ehrke Date: Sat, 1 Oct 2011 20:44:08 +0200 Subject: [PATCH] removed bug, that the drag and drop function added 24h to the duration of the event, after moving an event from allday to a time --- apps/calendar/ajax/moveevent.php | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/calendar/ajax/moveevent.php b/apps/calendar/ajax/moveevent.php index 6e87b64a1c7..f380fe9bf29 100644 --- a/apps/calendar/ajax/moveevent.php +++ b/apps/calendar/ajax/moveevent.php @@ -71,6 +71,7 @@ if(strlen($newdate) > 10){ $newdatestringarray[1] = "00:00"; }else{ $allday = false; + $difference = 3600; } }else{ $newdatestringarray = array(); -- 2.39.5