changeset 3172:c923623b5e30

fix anon session detection for trail display
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Sun, 02 Mar 2008 20:13:40 +0100
parents b23656c17a0b
children 8306c3b93081
files MoinMoin/user.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/user.py	Sun Mar 02 18:00:59 2008 +0100
+++ b/MoinMoin/user.py	Sun Mar 02 20:13:40 2008 +0100
@@ -915,7 +915,7 @@
     # Trail
 
     def _wantTrail(self):
-        return (not self.valid and self._request.session != {}  # anon session
+        return (not self.valid and self._request.session.is_stored  # anon session
                 or self.valid and (self.show_page_trail or self.remember_last_visit))  # logged-in session
 
     def addTrail(self, page):