From 4316f627bafd70b3c0be863eaeb23c1fa526766c Mon Sep 17 00:00:00 2001 From: wangyidong Date: Tue, 29 Jan 2019 11:37:43 +0800 Subject: [PATCH] * adjust for change password in xuanxuan. --- xuanxuan/module/chat/ext/model/class/xuanxuan.class.php | 1 + 1 file changed, 1 insertion(+) diff --git a/xuanxuan/module/chat/ext/model/class/xuanxuan.class.php b/xuanxuan/module/chat/ext/model/class/xuanxuan.class.php index 88336f8bca..5ccf4cdd63 100644 --- a/xuanxuan/module/chat/ext/model/class/xuanxuan.class.php +++ b/xuanxuan/module/chat/ext/model/class/xuanxuan.class.php @@ -75,6 +75,7 @@ class xuanxuanChat extends chatModel { if(!empty($user->$field)) $data[$field] = $user->$field; } + if(!empty($user->account) && !empty($user->password)) $data['password'] = $user->password; if(!$data) return null; $data['clientLang'] = $this->app->getClientLang();