diff options
author | Georg Ehrke <georg.stefan.germany@googlemail.com> | 2011-10-01 23:09:08 +0400 |
---|---|---|
committer | Georg Ehrke <georg.stefan.germany@googlemail.com> | 2011-10-01 23:09:08 +0400 |
commit | 1ea183a0f7b3e70ed5c1a682605b5dc1265041f2 (patch) | |
tree | 8945b0bada05b4351d4f99d380755fa9c4a05a78 /apps | |
parent | 8219516ec0561e6ac0a6b8d43d7526b014b9bce4 (diff) |
fix duration bug
Diffstat (limited to 'apps')
-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(); |