master
elf 2 years ago
parent 1b33139ee3
commit d4d78e75b3

@ -3111,7 +3111,7 @@ function encodeStr($str)
function getUserAccountOfPromote($account, $promote = null) function getUserAccountOfPromote($account, $promote = null)
{ {
if ($promote && $promote['level_id'] == 1) { if ($promote && $promote['level'] == 1) {
return $account; return $account;
} }
return substr($account, 0, 2) . '******' . substr($account, 8); return substr($account, 0, 2) . '******' . substr($account, 8);

Loading…
Cancel
Save