From 4f95b44ff239f92574491b3053b7f5aace6432d3 Mon Sep 17 00:00:00 2001 From: Mario Date: Tue, 21 Jul 2020 17:29:40 +0000 Subject: zot6 testing --- Zotlabs/Lib/Activity.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Zotlabs/Lib/Activity.php') diff --git a/Zotlabs/Lib/Activity.php b/Zotlabs/Lib/Activity.php index d883eac67..5297c1f95 100644 --- a/Zotlabs/Lib/Activity.php +++ b/Zotlabs/Lib/Activity.php @@ -20,7 +20,7 @@ class Activity { if(is_array($x)) { - if(array_key_exists('asld',$x)) { + if(array_key_exists('asld',$x) && is_array($x['asld'])) { return $x['asld']; } @@ -165,6 +165,7 @@ class Activity { $r = q("select * from item where mid = '%s' limit 1", dbesc($x['id']) ); + if($r) { xchan_query($r,true); $r = fetch_post_tags($r,true); -- cgit v1.2.3