From: Georg Ehrke Date: Sat, 1 Oct 2011 19:09:08 +0000 (+0200) Subject: fix duration bug X-Git-Tag: v3.0~101^2~15 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=1ea183a0f7b3e70ed5c1a682605b5dc1265041f2;p=nextcloud-server.git fix duration bug --- 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();