Skip to content

Commit

Permalink
! this will never exist for member id 0, so set a blank
Browse files Browse the repository at this point in the history
to avoid a php8 error
  • Loading branch information
Spuds committed Dec 18, 2020
1 parent bee0ad0 commit 9baeb28
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sources/admin/ManageErrors.controller.php
Expand Up @@ -171,6 +171,7 @@ private function _applyFilter($filter)
{
case 'id_member':
$id = $filter['value']['sql'];
$user_profile[$id]['real_name'] = '';
loadMemberData($id, false, 'minimal');
$context['filter']['value']['html'] = '<a href="' . $scripturl . '?action=profile;u=' . $id . '">' . $user_profile[$id]['real_name'] . '</a>';
break;
Expand Down

0 comments on commit 9baeb28

Please sign in to comment.