Commit 64dd5777 authored by hujun's avatar hujun

city

parent 7d6299f7
...@@ -249,7 +249,7 @@ class HomePageLog extends Basic ...@@ -249,7 +249,7 @@ class HomePageLog extends Basic
// $where_["f.city"] = $params['city'] ? $params['city'] : '上海市'; // $where_["f.city"] = $params['city'] ? $params['city'] : '上海市';
// } // }
if ($params['city'] != '全部') { if ($params['city'] != '全部' && !empty($params['city'])) {
$where_["f.city"] = $params['city']; $where_["f.city"] = $params['city'];
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment