fuyu před 6 roky
rodič
revize
3f81e21eb0
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. 2 2
      application/inter/controller/Reciveremote.php

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

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