Преглед изворни кода

Fix E_ALL notice, thanks Alexandros.

Thijs Kinkhorst пре 22 година
родитељ
комит
f93094c8db
1 измењених фајлова са 1 додато и 1 уклоњено
  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;
         }