diff options
author | zotlabs <mike@macgirvin.com> | 2019-03-18 20:41:59 -0700 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2019-03-18 20:41:59 -0700 |
commit | 8e1f02281046d13d34a720ab5b3af7044b25fa6a (patch) | |
tree | dbb123d9ef45fc75144a3ebc7da96b4396bd717f /Zotlabs/Lib | |
parent | a743feb04013527e2054d30c629373820f11aa27 (diff) | |
download | volse-hubzilla-8e1f02281046d13d34a720ab5b3af7044b25fa6a.tar.gz volse-hubzilla-8e1f02281046d13d34a720ab5b3af7044b25fa6a.tar.bz2 volse-hubzilla-8e1f02281046d13d34a720ab5b3af7044b25fa6a.zip |
share encoding issue between hz and zap
Diffstat (limited to 'Zotlabs/Lib')
-rw-r--r-- | Zotlabs/Lib/Activity.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Zotlabs/Lib/Activity.php b/Zotlabs/Lib/Activity.php index e5a8e0075..5b9d356bb 100644 --- a/Zotlabs/Lib/Activity.php +++ b/Zotlabs/Lib/Activity.php @@ -527,6 +527,10 @@ class Activity { else return []; + if(strpos($i['body'],'[/share]') !== false) { + $i['obj'] = null; + } + if($i['obj']) { if(! is_array($i['obj'])) { $i['obj'] = json_decode($i['obj'],true); |