Browse Source

Fix E_ALL notice, thanks Alexandros.

Thijs Kinkhorst 22 năm trước cách đây
mục cha
commit
f93094c8db
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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;
         }