AP: Parsing of messages from Pleroma should work now again
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user