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