sforkowany z mirror/friendica
Issue 5859: Avoid returning empty arrays
rodzic
5f9dd11cfb
commit
c4da138eee
|
@ -128,7 +128,7 @@ class JsonLD
|
|||
$elements[] = $entry;
|
||||
} elseif (!empty($entry[$key])) {
|
||||
$elements[] = $entry[$key];
|
||||
} else {
|
||||
} elseif (!empty($entry) || !is_array($entry)) {
|
||||
$elements[] = $entry;
|
||||
}
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue