Commit 0e46eafd authored by hujun's avatar hujun

1

parent f324691f
...@@ -267,7 +267,7 @@ class Users extends Model ...@@ -267,7 +267,7 @@ class Users extends Model
if (!empty($data['area_demand'])) { if (!empty($data['area_demand'])) {
$insert_data['area_demand'] = $data['area_demand']; $insert_data['area_demand'] = $data['area_demand'];
} }
if (!empty($data['vip'])) { if (isset($data['vip'])) {
$insert_data['vip'] = $data['vip']; $insert_data['vip'] = $data['vip'];
} }
if ($id && $id > 0) { if ($id && $id > 0) {
......
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