Source

trac-ticketlinks / trac / prefs / web_ui.py

Diff from to

File trac/prefs/web_ui.py

     def _do_load(self, req):
         if req.authname == 'anonymous':
             oldsid = req.args.get('loadsid')
-            req.session.get_session(oldsid)
+            if oldsid:
+                req.session.get_session(oldsid)
+                add_notice(req, _('The session has been loaded.'))