Naming-inconsistency fixed
authorRoland Häder <roland@mxchange.org>
Wed, 16 Dec 2009 01:19:25 +0000 (01:19 +0000)
committerRoland Häder <roland@mxchange.org>
Wed, 16 Dec 2009 01:19:25 +0000 (01:19 +0000)
index.php
templates/de/html/index_forward.tpl

index df23da6814c7eb4e87303f571dbbab9fb274e48d..908248463154aad6ef397e0d143bf3827379afbb 100644 (file)
--- a/index.php
+++ b/index.php
@@ -79,8 +79,8 @@ if ((isSessionVariableSet('visited')) || (getConfig('index_delay') > -1)) {
        // Shall I insert an automated forward?
        if (getConfig('index_delay') > 0) {
                // This will be a JavaScript-redirect!
-               $content['delay'] = (getConfig('index_delay') * 1000 + 500);
-               $content['mod']   = 'index';
+               $content['delay']  = (getConfig('index_delay') * 1000 + 500);
+               $content['module'] = 'index';
 
                // Load template
                loadTemplate('index_forward', false, $content);
index dde18d78882bd9a7640df61d048ee3d0de3b236a..3c58945012efdc9771527046388e9caabf1407e6 100644 (file)
@@ -1,7 +1,7 @@
 <script type="text/javascript">
 <!--
 function Load () {
-       document.location.href = '{%url,js=modules.ph?module=$content[mode]%}';
+       document.location.href = '{%url,js=modules.ph?module=$content[module]%}';
 }
 
 window.setTimeout("Load()", $content[delay]);