changeset 609:a188f23ba223

use cfg.language_default not 'en' for subscription mails
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Mon, 01 May 2006 02:03:45 +0200
parents 16964b4b2f6b
children 8dac4b68072b
files MoinMoin/Page.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/Page.py	Sun Apr 30 16:38:35 2006 +0200
+++ b/MoinMoin/Page.py	Mon May 01 02:03:45 2006 +0200
@@ -932,7 +932,7 @@
             if not UserPerms(subscriber).read(self.page_name): continue
 
             if subscriber.isSubscribedTo(pageList):
-                lang = subscriber.language or 'en'
+                lang = subscriber.language or request.cfg.language_default
                 if not lang in subscriber_list:
                     subscriber_list[lang] = []
                 if return_users: