changeset 5251:fab21793f608

fix load_theme call for fallback theme loading
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Thu, 05 Nov 2009 08:53:30 +0100
parents 00ca621ffbc2
children 6f6736e7683c
files MoinMoin/theme/__init__.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/theme/__init__.py	Tue Nov 03 00:40:45 2009 +0100
+++ b/MoinMoin/theme/__init__.py	Thu Nov 05 08:53:30 2009 +0100
@@ -1920,7 +1920,7 @@
     except ThemeNotFound:
         fallback = 1
         try:
-            request.theme = load_theme(request.cfg.theme_default)
+            request.theme = load_theme(request, request.cfg.theme_default)
         except ThemeNotFound:
             fallback = 2
             from MoinMoin.theme.modern import Theme