Explorar o código

Fix E_ALL notice, thanks Alexandros.

Thijs Kinkhorst %!s(int64=22) %!d(string=hai) anos
pai
achega
f93094c8db
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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;
         }