admin users, don't set account-type if page flag isn't PAGE_NORMAL
This commit is contained in:
parent
23e5225b20
commit
12b7bce1cc
|
@ -1753,8 +1753,9 @@ function admin_page_users(App $a)
|
||||||
|
|
||||||
$e['page-flags-raw'] = $e['page-flags'];
|
$e['page-flags-raw'] = $e['page-flags'];
|
||||||
$e['page-flags'] = $page_types[$e['page-flags']];
|
$e['page-flags'] = $page_types[$e['page-flags']];
|
||||||
$e['account-type-raw'] = $e['account-type'];
|
|
||||||
$e['account-type'] = $account_types[$e['account-type']];
|
$e['account-type-raw'] = ($e['page_flags_raw']==0) ? $e['account-type'] : -1;
|
||||||
|
$e['account-type'] = ($e['page_flags_raw']==0) ? $account_types[$e['account-type']] : "";
|
||||||
|
|
||||||
$e['register_date'] = Temporal::getRelativeDate($e['register_date']);
|
$e['register_date'] = Temporal::getRelativeDate($e['register_date']);
|
||||||
$e['login_date'] = Temporal::getRelativeDate($e['login_date']);
|
$e['login_date'] = Temporal::getRelativeDate($e['login_date']);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user