From: Georg Ehrke Date: Sat, 1 Oct 2011 18:44:08 +0000 (+0200) Subject: removed bug, that the drag and drop function added 24h to the duration of the event... X-Git-Tag: v3.0~101^2~16 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=8219516ec0561e6ac0a6b8d43d7526b014b9bce4;p=nextcloud-server.git 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 --- 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();