Fixed a critical bug on user's pages

main
Inga 🏳‍🌈 14 years ago
parent bcc38b9406
commit 74df6619c9
  1. 2
      Builder/IISMainHandler/build.txt
  2. 3
      IISMainHandler/handlers/response/AbstractUserGetHandler.cs

@ -35,7 +35,10 @@ namespace FLocal.IISHandler.handlers.response {
} }
Session lastSession = null; Session lastSession = null;
if(account != null && !account.isDetailedStatusHidden) { if(account != null && !account.isDetailedStatusHidden) {
try {
lastSession = Session.GetLastSession(account); lastSession = Session.GetLastSession(account);
} catch(NotFoundInDBException) {
}
} }
return new XElement[] { return new XElement[] {
user.exportToXmlForViewing(context), user.exportToXmlForViewing(context),

Loading…
Cancel
Save