|
@@ -214,7 +214,7 @@ class Base
|
|
|
}
|
|
|
|
|
|
if ($cur != $v['uid']) {
|
|
|
- if ($user['bind'] == 1 || $user['temp'] == 2 || $user['avatar'] || $v['uid'] < $cur) {
|
|
|
+ if ($user['bind'] == 1 || $user['temp'] == 2 || $user['avatar'] || $user['mobile'] || $v['uid'] < $cur) {
|
|
|
$drop[$cur] = $cur;
|
|
|
$cur = $v['uid'];
|
|
|
} else {
|
|
@@ -260,6 +260,10 @@ class Base
|
|
|
$update['avatar'] = $old['avatar'];
|
|
|
}
|
|
|
|
|
|
+ if (!$new['mobile']) {
|
|
|
+ $update['mobile'] = $old['mobile'];
|
|
|
+ }
|
|
|
+
|
|
|
if (!$new['area']) {
|
|
|
$update['area'] = $old['area'];
|
|
|
}
|