소스 검색

:bug: dict_lookup返回值 非数组

visuddhinanda 5 년 전
부모
커밋
93de2cf9ec
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      app/dict/turbo_split.php

+ 1 - 1
app/dict/turbo_split.php

@@ -232,7 +232,7 @@ function dict_lookup2($word){
 function dict_lookup($word)
 {
     if (strlen($word) <= 1) {
-        return 0;
+        return array(0,0);
     }
     global $case;
 	global $dbh;