aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Lib/Activity.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2023-06-16 12:27:08 +0000
committerMario <mario@mariovavti.com>2023-06-16 12:27:08 +0000
commit84487edc05a28f016872058ca3175fdf41efbcb6 (patch)
tree4e3a48bf27ba9e5b11a4cd60fabd05aab5cf4097 /Zotlabs/Lib/Activity.php
parent7177649969825033a0e5ef3cf024e68c21e6acc9 (diff)
downloadvolse-hubzilla-84487edc05a28f016872058ca3175fdf41efbcb6.tar.gz
volse-hubzilla-84487edc05a28f016872058ca3175fdf41efbcb6.tar.bz2
volse-hubzilla-84487edc05a28f016872058ca3175fdf41efbcb6.zip
undefined variable and return null in fetch_local if we did not find anything (we also return null in fetch)
Diffstat (limited to 'Zotlabs/Lib/Activity.php')
-rw-r--r--Zotlabs/Lib/Activity.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Lib/Activity.php b/Zotlabs/Lib/Activity.php
index 23ba89462..9a28b7038 100644
--- a/Zotlabs/Lib/Activity.php
+++ b/Zotlabs/Lib/Activity.php
@@ -66,7 +66,7 @@ class Activity {
if ($items) {
return self::encode_item(array_shift($items), true);
}
- return false;
+ return null;
}
static function fetch($url, $channel = null) {