Use strict in_array() calls

This commit is contained in:
2020-08-27 17:16:48 +02:00
committed by Stefan Rohde-Enslin
parent b39f26a3f7
commit 7d4a740f8f
2 changed files with 5 additions and 5 deletions

View File

@ -259,7 +259,7 @@ class MD_STD {
while (!empty($lang_code)) {
// phpcs:enable
// mal sehen, ob der Sprachcode angeboten wird
if (\in_array(\strtolower(\join('-', $lang_code)), $allowed_languages)) {
if (\in_array(\strtolower(\join('-', $lang_code)), $allowed_languages, true)) {
// Qualität anschauen
if ($lang_quality > $current_q) {
// diese Sprache verwenden