Commit 69060192 authored by hujun's avatar hujun

"0"

parent 00e81a0c
......@@ -314,7 +314,7 @@ class Users extends Model
//修改
$insert_data['update_time'] = date('Y-m-d H:i:s');
if ($data['referrer_id'] === 0) {
if ($data['referrer_id'] == "0") {
$insert_data['referrer_id'] = 0;
$insert_data['referrer_source'] = 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