浏览代码

:bug: dict_lookup返回值 非数组

visuddhinanda 4 年之前
父节点
当前提交
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;