lvhao 10 timmar sedan
förälder
incheckning
4e88906f46
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      core/CoreApp/controllers/Beihuogl.php

+ 1 - 1
core/CoreApp/controllers/Beihuogl.php

@@ -498,7 +498,7 @@ class Beihuogl extends Start_Controller {
             $where .= " and add_time >= ".$ktime."  and add_time  < ".$jtime." ";
 
             if(!empty($sqr)){
-                $where .= " and sqr = ".$sqr." ";
+                $where .= " and sqr = '".$sqr."' ";
             }
             if(!empty($shop_id)){
                 $where .= " and shop_id = ".$shop_id." ";