Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
adlered committed Nov 21, 2024
1 parent f88494c commit 5e2a9da
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/main/java/org/b3log/symphony/processor/TopProcessor.java
Original file line number Diff line number Diff line change
Expand Up @@ -929,7 +929,9 @@ public void showDonate(final RequestContext context) {
JSONObject userData = userQueryService.getUser(user.optString("userId"));
avatarQueryService.fillUserAvatarURL(userData);
user.put("profile", userData);
result.add(user);
if (userData.optString("userName") != null && !userData.optString("userName").isEmpty() && !userData.optString("userName").equals("_")) {
result.add(user);
}
} catch (Exception e) {
continue;
}
Expand Down

0 comments on commit 5e2a9da

Please sign in to comment.