Procházet zdrojové kódy

Fix E_ALL notice, thanks Alexandros.

Thijs Kinkhorst před 22 roky
rodič
revize
f93094c8db
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      plugins/translate/setup.php

+ 1 - 1
plugins/translate/setup.php

@@ -169,7 +169,7 @@ function translate_does_it_match_language($test) {
         return $true;
     }
       
-    while ($test[$index]) {
+    while (isset($test[$index]) && $test[$index]) {
         if ($test[$index] == '*') {
             return $true;
         }