mirror of
https://github.com/friendica/friendica
synced 2024-11-19 15:03:40 +00:00
Issue 5859: Avoid returning empty arrays
This commit is contained in:
parent
5f9dd11cfb
commit
c4da138eee
1 changed files with 1 additions and 1 deletions
|
@ -128,7 +128,7 @@ class JsonLD
|
|||
$elements[] = $entry;
|
||||
} elseif (!empty($entry[$key])) {
|
||||
$elements[] = $entry[$key];
|
||||
} else {
|
||||
} elseif (!empty($entry) || !is_array($entry)) {
|
||||
$elements[] = $entry;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue