Skip to content

Commit

Permalink
Fix undefined error
Browse files Browse the repository at this point in the history
  • Loading branch information
partydragen authored Nov 27, 2021
1 parent 7b3b0c7 commit a886ed2
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions modules/Core/queries/user.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@
$target_user = new User($_GET['id']);
if (!$target_user->data()) {
die(json_encode(['html' => 'User not found']));
} else {
$user_query = $user_query[0];
}

$username = $target_user->getDisplayname(true);
Expand Down

0 comments on commit a886ed2

Please sign in to comment.