Explorar el Código

:bug: dict_lookup返回值 非数组

visuddhinanda hace 4 años
padre
commit
93de2cf9ec
Se han modificado 1 ficheros con 1 adiciones y 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;