Parcourir la source

:bug: dict_lookup返回值 非数组

visuddhinanda il y a 4 ans
Parent
commit
93de2cf9ec
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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;