mirror of
https://github.com/friendica/friendica
synced 2025-04-26 13:50:11 +00:00
AP: Parsing of messages from Pleroma should work now again
This commit is contained in:
parent
dc154ac07d
commit
eef85584c2
4 changed files with 43 additions and 39 deletions
|
@ -165,7 +165,7 @@ class JsonLD
|
|||
foreach ($array[$element] as $entry) {
|
||||
if (!is_array($entry)) {
|
||||
$elements[] = $entry;
|
||||
} elseif (!empty($entry[$key])) {
|
||||
} elseif (isset($entry[$key])) {
|
||||
$elements[] = $entry[$key];
|
||||
} elseif (!empty($entry) || !is_array($entry)) {
|
||||
$elements[] = $entry;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue