dever 6 years ago
parent
commit
46d01be749
1 changed files with 3 additions and 0 deletions
  1. 3 0
      src/Database.php

+ 3 - 0
src/Database.php

@@ -1636,6 +1636,9 @@ class Database
                     $k = str_replace('search_linkage_', '', $k);
                     if (isset($config['struct'][$k]['search_col'])) {
                         $temp = explode(',', $config['struct'][$k]['search_col']);
+                        if (!is_array($v)) {
+                            $v = explode(',', $v);
+                        }
                         foreach ($temp as $k1 => $v1) {
                             if (isset($v[$k1]) && $v[$k1] != -1) {
                                 $param['option_' . $v1] = $v[$k1];