fuyu 6 年 前
コミット
adc998e89a
1 ファイル変更3 行追加3 行削除
  1. 3 3
      application/inter/controller/Reciveremote.php

+ 3 - 3
application/inter/controller/Reciveremote.php

@@ -244,10 +244,10 @@ class Reciveremote extends Base
                             if(empty($v)){
                                 break;
                             }
-                            $queryWhere.= " and `e`.`exam_class` in (?)";
-                            $ex = implode('\',\'',$v);
+                            $queryWhere.= " and `e`.`exam_class` in ?";
+                            $ex = implode(',', $v);
                             // $where .= " and e.exam_class in ('".$ex."')";
-                            $options[] = "'".$ex."'";
+                            $options[] = "(".$ex.")";
                             // var_dump($v);
                             break;
                         case 'name':