소스 검색

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;
         }