master
elf 2 years ago
parent 7bfd05a179
commit 9e08903688

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

Loading…
Cancel
Save