summaryrefslogtreecommitdiffstats
path: root/apps/calendar/ajax/moveevent.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/calendar/ajax/moveevent.php')
-rw-r--r--apps/calendar/ajax/moveevent.php4
1 files changed, 3 insertions, 1 deletions
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();