Commit ade31a3a authored by hujun's avatar hujun

isset

parent eb58b66f
...@@ -87,7 +87,7 @@ class CellPhone extends Basic ...@@ -87,7 +87,7 @@ class CellPhone extends Basic
$where['a.secret_no'] = trim($this->params['ali_yun_phone']); $where['a.secret_no'] = trim($this->params['ali_yun_phone']);
} }
if (!empty($this->params['user_type'])) { if (isset($this->params['user_type'])) {
$where['a.user_type'] = $this->params['user_type']; $where['a.user_type'] = $this->params['user_type'];
} }
......
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