aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Lib
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2020-07-21 17:29:40 +0000
committerMario <mario@mariovavti.com>2020-07-21 17:29:40 +0000
commit4f95b44ff239f92574491b3053b7f5aace6432d3 (patch)
tree80ca2192e3ad3bdbf0707a524f93fc0314a16a2f /Zotlabs/Lib
parentcb7aec0da5de07762aab8173874e5517978f763c (diff)
downloadvolse-hubzilla-4f95b44ff239f92574491b3053b7f5aace6432d3.tar.gz
volse-hubzilla-4f95b44ff239f92574491b3053b7f5aace6432d3.tar.bz2
volse-hubzilla-4f95b44ff239f92574491b3053b7f5aace6432d3.zip
zot6 testing
Diffstat (limited to 'Zotlabs/Lib')
-rw-r--r--Zotlabs/Lib/Activity.php3
1 files changed, 2 insertions, 1 deletions
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);