summaryrefslogtreecommitdiff
path: root/classes/rssutils.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2022-07-13 07:08:31 +0300
committerAndrew Dolgov <[email protected]>2022-07-13 07:08:31 +0300
commit5c70d26b7ea8c2ac8d65e1c96e8805f73f433652 (patch)
treedbf78ad36e8026c59b4a54833c5860006e019339 /classes/rssutils.php
parent80d3db1dcf8fe9ca66d4e3f2e2116d3bc39ae2b4 (diff)
some very minor php8.1 warnings fixed
Diffstat (limited to 'classes/rssutils.php')
-rwxr-xr-xclasses/rssutils.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/rssutils.php b/classes/rssutils.php
index 1d87e73d6..384830556 100755
--- a/classes/rssutils.php
+++ b/classes/rssutils.php
@@ -447,7 +447,7 @@ class RSSUtils {
Debug::log("not using CURL due to open_basedir restrictions", Debug::LOG_VERBOSE);
}
- if (time() - strtotime($feed_obj->last_unconditional) > Config::get(Config::MAX_CONDITIONAL_INTERVAL)) {
+ if (time() - strtotime($feed_obj->last_unconditional ?? "") > Config::get(Config::MAX_CONDITIONAL_INTERVAL)) {
Debug::log("maximum allowed interval for conditional requests exceeded, forcing refetch", Debug::LOG_VERBOSE);
$force_refetch = true;