summaryrefslogtreecommitdiff
path: root/classes/handler/public.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2021-10-22 13:49:08 +0300
committerAndrew Dolgov <[email protected]>2021-10-22 13:49:08 +0300
commit9f734c90506a6e5916589d7c8f39c45ff40f6273 (patch)
treefc75d5462141e6f10558932f1ab003c3010b8115 /classes/handler/public.php
parent3b70d1f62275752c966e778dec0c20e67d176f03 (diff)
minor phpstan tweaks
Diffstat (limited to 'classes/handler/public.php')
-rwxr-xr-xclasses/handler/public.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/classes/handler/public.php b/classes/handler/public.php
index b9619971b..14474d0bb 100755
--- a/classes/handler/public.php
+++ b/classes/handler/public.php
@@ -53,6 +53,10 @@ class Handler_Public extends Handler {
if ($handler) {
$qfh_ret = $handler->get_headlines(PluginHost::feed_to_pfeed_id((int)$feed), $params);
+ } else {
+ user_error("Failed to find handler for plugin feed ID: $feed", E_USER_ERROR);
+
+ return false;
}
} else {