aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Lib/Activity.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2020-07-13 09:18:11 +0000
committerMario <mario@mariovavti.com>2020-07-13 09:18:11 +0000
commit774cc852d4bc46a533c5ec2fb533463871721fe0 (patch)
treefd9110efd035f2bc22102c82d49778b384d4dbf0 /Zotlabs/Lib/Activity.php
parent3f69fc70f1958d902e7209c80f661868f9d456b0 (diff)
downloadvolse-hubzilla-774cc852d4bc46a533c5ec2fb533463871721fe0.tar.gz
volse-hubzilla-774cc852d4bc46a533c5ec2fb533463871721fe0.tar.bz2
volse-hubzilla-774cc852d4bc46a533c5ec2fb533463871721fe0.zip
fix php warning
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 014ff8949..d883eac67 100644
--- a/Zotlabs/Lib/Activity.php
+++ b/Zotlabs/Lib/Activity.php
@@ -3042,7 +3042,7 @@ class Activity {
}
}
- if (array_key_exists('source',$act) && array_key_exists('mediaType',$act['source'])) {
+ if (array_path_exists('source/mediaType',$act) && array_path_exists('source/content',$act)) {
if ($act['source']['mediaType'] === 'text/bbcode') {
$content['bbcode'] = purify_html($act['source']['content']);
}