code expiration fixed

This commit is contained in:
s416422 2019-12-16 15:49:25 +01:00
parent f2970e4c0a
commit 4fb02f960e
2 changed files with 2 additions and 2 deletions

View File

@ -13,6 +13,6 @@ function checkHoursDifference($dateStart, $dateEnd) {
$dateStart = strtotime($dateStart);
$dateEnd = strtotime($dateEnd);
$diff = $dateEnd - $dateStart;
$hours = floor(($diff / (60*60)));
$hours = ($diff / (60*60));
return $hours;
}