diff options
author | Georg Ehrke <georg.stefan.germany@googlemail.com> | 2011-10-01 21:09:08 +0200 |
---|---|---|
committer | Georg Ehrke <georg.stefan.germany@googlemail.com> | 2011-10-01 21:09:08 +0200 |
commit | 1ea183a0f7b3e70ed5c1a682605b5dc1265041f2 (patch) | |
tree | 8945b0bada05b4351d4f99d380755fa9c4a05a78 /apps/calendar | |
parent | 8219516ec0561e6ac0a6b8d43d7526b014b9bce4 (diff) | |
download | nextcloud-server-1ea183a0f7b3e70ed5c1a682605b5dc1265041f2.tar.gz nextcloud-server-1ea183a0f7b3e70ed5c1a682605b5dc1265041f2.zip |
fix duration bug
Diffstat (limited to 'apps/calendar')
-rw-r--r-- | apps/calendar/ajax/moveevent.php | 4 |
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(); |