Skip to content
This repository was archived by the owner on Sep 9, 2024. It is now read-only.

Commit

Permalink
Update src/main/java/org/isf/menu/manager/UserBrowsingManager.java
Browse files Browse the repository at this point in the history
Co-authored-by: Alessandro Domanico <[email protected]>
  • Loading branch information
ArnaudFonzam and mwithi authored Dec 26, 2023
1 parent 3820360 commit 4effd8e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/java/org/isf/menu/manager/UserBrowsingManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,9 @@ public class UserBrowsingManager {
private MenuIoOperations ioOperations;

public static String getCurrentUser() {
if (UserSession.getUser() != null)
if (UserSession.getUser() != null) {
return UserSession.getUser().getUserName();
}
return null;
}

Expand Down

0 comments on commit 4effd8e

Please sign in to comment.