Merge pull request #8554 from annando/fix-8551

Fix issue 8551: Last item is now displayed again
This commit is contained in:
Tobias Diekershoff 2020-04-28 07:55:24 +02:00 committed by GitHub
commit c853ea6aae
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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);