diff MoinMoin/theme/__init__.py @ 1935:740d9939ffe9

use session object to store page trail (even for anon users, if anon sessions are enabled)
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Tue, 03 Apr 2007 23:46:32 +0200
parents b06ef2a53efa
children 7ccf35e8f674
line wrap: on
line diff
--- a/MoinMoin/theme/__init__.py	Tue Apr 03 18:48:59 2007 +0200
+++ b/MoinMoin/theme/__init__.py	Tue Apr 03 23:46:32 2007 +0200
@@ -579,7 +579,7 @@
         request = self.request
         user = request.user
         html = ''
-        if user.valid and user.show_page_trail:
+        if not user.valid or user.show_page_trail:
             trail = user.getTrail()
             if trail:
                 items = []