From 659b18b3626484ea0f141cb557feb6f2ade8b924 Mon Sep 17 00:00:00 2001 From: ralf Date: Mon, 29 Jan 2024 14:12:41 +0200 Subject: [PATCH] should type what I mean ;) --- api/src/Accounts/Import.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/src/Accounts/Import.php b/api/src/Accounts/Import.php index cb0c93de65..4b5f16d193 100644 --- a/api/src/Accounts/Import.php +++ b/api/src/Accounts/Import.php @@ -976,7 +976,7 @@ class Import return false; } // check current time <= time of first run today (frequency is in hours) - return time() <= mktime(ceil($frequency), round((60*$frequency)%60), 60); // 60 seconds grace time + return time() <= mktime(floor($frequency), round((60*$frequency)%60), 60); // 60 seconds grace time } /**