code expiration fixed
This commit is contained in:
parent
f2970e4c0a
commit
4fb02f960e
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user