Fixed non-resetting active project when switching users and the target users active project is null
This commit is contained in:
parent
1beba1f84a
commit
9222ef71c8
@ -186,6 +186,8 @@ public class SciProSession extends WebSession {
|
||||
Project activeProject = userSettings.getActiveProject();
|
||||
if(activeProject != null)
|
||||
activeProjectId = activeProject.getId();
|
||||
else
|
||||
activeProjectId = null;
|
||||
}
|
||||
else {
|
||||
userSettings = new UserSettings(user);
|
||||
|
Loading…
x
Reference in New Issue
Block a user