Explorar o código

:bug: dict_lookup返回值 非数组

visuddhinanda %!s(int64=4) %!d(string=hai) anos
pai
achega
93de2cf9ec
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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;