share encoding issue between hz and zap
This commit is contained in:
parent
a743feb040
commit
8e1f022810
@ -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);
|
||||||
|
Reference in New Issue
Block a user