diff options
-rw-r--r-- | Zotlabs/Lib/Activity.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Zotlabs/Lib/Activity.php b/Zotlabs/Lib/Activity.php index 698556001..b8432f95a 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) && is_array($x['asld'])) { + if(array_key_exists('asld',$x)) { return $x['asld']; } @@ -165,7 +165,6 @@ 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); |