summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xcheck.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/check.php b/check.php
index 9f406c5b..4d339f33 100755
--- a/check.php
+++ b/check.php
@@ -178,7 +178,7 @@ function delta($ref, $loc) {
if ($d >= 60) {
$d = (int)($d / 60);
if ($d >= 24) {
- $d = (int)($d / 60);
+ $d = (int)($d / 24);
$unit = 'DAY';
} else {
$unit = 'hour';