Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorg Ehrke <georg.stefan.germany@googlemail.com>2011-10-01 23:09:08 +0400
committerGeorg Ehrke <georg.stefan.germany@googlemail.com>2011-10-01 23:09:08 +0400
commit1ea183a0f7b3e70ed5c1a682605b5dc1265041f2 (patch)
tree8945b0bada05b4351d4f99d380755fa9c4a05a78 /apps/calendar
parent8219516ec0561e6ac0a6b8d43d7526b014b9bce4 (diff)
fix duration bug
Diffstat (limited to 'apps/calendar')
-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();