Improved handling of undetected languages

This commit is contained in:
Michael 2024-01-07 12:45:08 +00:00
parent da02df20c3
commit 08738e6551
2 changed files with 6 additions and 8 deletions

View file

@ -188,7 +188,7 @@ class Relay
}
}
if (empty($detected)) {
if (empty($detected) && empty($languages)) {
$detected = ['un'];
}