Fix issue 8551: Last item is now displayed again

2022.09-rc
Michael 2020-04-28 05:22:29 +00:00
rodzic ebb96faedd
commit 0c4dde8e68
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -206,7 +206,7 @@ class Users extends BaseAdmin
$e['register_date'] = Temporal::getRelativeDate($e['register_date']);
$e['login_date'] = Temporal::getRelativeDate($e['login_date']);
$e['last-item'] = Temporal::getRelativeDate($e['last-item']);
$e['lastitem_date'] = Temporal::getRelativeDate($e['last-item']);
$e['is_admin'] = in_array($e['email'], $adminlist);
$e['is_deletable'] = (intval($e['uid']) != local_user());
$e['deleted'] = ($e['account_removed'] ? Temporal::getRelativeDate($e['account_expires_on']) : False);