changeset 3428:a53f1e77d372

theme.__init__: fixed bug for subscribe link
author Reimar Bauer <rb.proj AT googlemail DOT com>
date Sat, 29 Mar 2008 21:37:53 +0100
parents 0cc5867d57f5
children 9cdac4c5843e
files MoinMoin/theme/__init__.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/theme/__init__.py	Sat Mar 29 21:36:55 2008 +0100
+++ b/MoinMoin/theme/__init__.py	Sat Mar 29 21:37:53 2008 +0100
@@ -1225,7 +1225,7 @@
         @rtype: unicode
         @return: subscribe or unsubscribe link
         """
-        if not (self.cfg.mail_enabled or self.cfg.jabber_enabled and self.request.user.valid):
+        if not ((self.cfg.mail_enabled or self.cfg.jabber_enabled) and self.request.user.valid):
             return ''
 
         _ = self.request.getText