diff options
author | Georg Ehrke <georg.stefan.germany@googlemail.com> | 2011-10-01 20:44:08 +0200 |
---|---|---|
committer | Georg Ehrke <georg.stefan.germany@googlemail.com> | 2011-10-01 20:44:08 +0200 |
commit | 8219516ec0561e6ac0a6b8d43d7526b014b9bce4 (patch) | |
tree | 6f5cc63f516cc8cc7b10278113c81883463af2fb | |
parent | 50007f2d40bd026bb43d1071d7be17632c62566c (diff) | |
download | nextcloud-server-8219516ec0561e6ac0a6b8d43d7526b014b9bce4.tar.gz nextcloud-server-8219516ec0561e6ac0a6b8d43d7526b014b9bce4.zip |
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
-rw-r--r-- | apps/calendar/ajax/moveevent.php | 1 |
1 files changed, 1 insertions, 0 deletions
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(); |