dever 3 lat temu
rodzic
commit
5f407d8955
1 zmienionych plików z 3 dodań i 3 usunięć
  1. 3 3
      src/Database.php

+ 3 - 3
src/Database.php

@@ -2234,11 +2234,11 @@ class Database
                     if ($v == 'yes') {
                         # 有值
                         $param['option'][$k] = array('yes', '!=');
-                        $param['option_' . $k] = 'null';
+                        //$param['option_' . $k] = 'null';
                     } elseif ($v == 'no') {
                         # 无值
                         $param['option'][$k] = array('yes', '=');
-                        $param['option_' . $k] = 'null';
+                        //$param['option_' . $k] = 'null';
                     } elseif (strpos($v, '|')) {
                         # 有无值或者自定义的值
                         $temp = explode('|', $v);
@@ -2250,7 +2250,7 @@ class Database
                             $param['option'][$k] = array('yes', '=', 'and(');
                             $param['option'][$k . '_t1'] = array('yes-' . $k, '=', 'or)');
                         }
-                        $param['option_' . $k . '_t1'] = 'null';
+                        //$param['option_' . $k . '_t1'] = 'null';
                     } else {
                         # 自定义的值
                         $param['option_' . $k] = $v;