Showing
1 changed file
with
1 additions
and
1 deletions
@@ -233,7 +233,7 @@ class UserData | @@ -233,7 +233,7 @@ class UserData | ||
233 | $param['consignee'] = $consignee; | 233 | $param['consignee'] = $consignee; |
234 | $param['email'] = $email; | 234 | $param['email'] = $email; |
235 | 235 | ||
236 | - if ($id !== null) { // 修改 | 236 | + if (!empty($id)) { // 修改 |
237 | $param['id'] = $id; | 237 | $param['id'] = $id; |
238 | $param['method'] = 'app.address.update'; | 238 | $param['method'] = 'app.address.update'; |
239 | } else { // 添加 | 239 | } else { // 添加 |
-
Please register or login to post a comment