diff options
-rw-r--r-- | include/items.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/items.php b/include/items.php index 182f5ff72..8a08516c1 100644 --- a/include/items.php +++ b/include/items.php @@ -5584,6 +5584,10 @@ function items_by_thr_parent(string $mid, int $parent): array function item_activity_xchans(string $mid, int $parent, string $verb): array { + if (!$mid && !$parent && !$verb) { + return []; + } + $observer_hash = get_observer_hash(); $parent_item = q("SELECT * FROM item WHERE id = %d", intval($parent) |