diff --git a/apps/calendar/ajax/moveevent.php b/apps/calendar/ajax/moveevent.php index f380fe9bf2972b116e8930e05c0f1f3715ebb59b..e2b777969daa1d12060387ca18b1fc14632eeae7 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();