summaryrefslogtreecommitdiffstats
path: root/check.php
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2025-04-10 12:03:48 +0200
committerRemi Collet <remi@php.net>2025-04-10 12:03:48 +0200
commit321a3b32ec5a9424ef1532a1fcf67ecd6baa8398 (patch)
tree09c4a31cf8f7aa0ae346977a70ccf92fe32bfc20 /check.php
parent265a19353e293c4b85f32c7a4de5ab24fd9fc10f (diff)
fix delay computationHEADmaster
Diffstat (limited to 'check.php')
-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';