mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-11 17:44:27 +02:00
Are the tests happy?
This commit is contained in:
parent
e6ab4d9be9
commit
f7f79a240a
1 changed files with 1 additions and 1 deletions
|
@ -193,7 +193,7 @@ class JsonLD
|
||||||
}
|
}
|
||||||
|
|
||||||
// If it isn't an array yet, make it to one
|
// If it isn't an array yet, make it to one
|
||||||
if (!is_array($array[$element])) {
|
if (!is_array($array[$element]) || !is_int(key($array[$element]))) {
|
||||||
$array[$element] = [$array[$element]];
|
$array[$element] = [$array[$element]];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue