fix duration bug

This commit is contained in:
Georg Ehrke 2011-10-01 21:09:08 +02:00
parent 8219516ec0
commit 1ea183a0f7
1 changed files with 3 additions and 1 deletions

View File

@ -70,8 +70,10 @@ if(strlen($newdate) > 10){
$allday = true; $allday = true;
$newdatestringarray[1] = "00:00"; $newdatestringarray[1] = "00:00";
}else{ }else{
if($allday == true){
$difference = 3600;
}
$allday = false; $allday = false;
$difference = 3600;
} }
}else{ }else{
$newdatestringarray = array(); $newdatestringarray = array();