share encoding issue between hz and zap

This commit is contained in:
zotlabs 2019-03-18 20:41:59 -07:00
parent a743feb040
commit 8e1f022810

View File

@ -527,6 +527,10 @@ class Activity {
else else
return []; return [];
if(strpos($i['body'],'[/share]') !== false) {
$i['obj'] = null;
}
if($i['obj']) { if($i['obj']) {
if(! is_array($i['obj'])) { if(! is_array($i['obj'])) {
$i['obj'] = json_decode($i['obj'],true); $i['obj'] = json_decode($i['obj'],true);