]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/index.php
Several bugfixes, getMessage() introduced
[mailer.git] / inc / modules / index.php
index 06fd11d42ff3b78b81f7f07f3d96b90db69258ae..6180e3e9416df571a71fffe6e163713f1bb3fc0b 100644 (file)
@@ -92,11 +92,11 @@ if (empty($GLOBALS['what'])) $GLOBALS['what'] = getConfig('index_home');
 // Adding the main content module here
 if (empty($GLOBALS['action'])) {
        // Get action value from what value
-       $act = GET_ACTION("guest", $GLOBALS['what']);
-} else {
-       // Get action value directly from URL
-       $act = COMPILE_CODE($GLOBALS['action']);
-}
+       $GLOBALS['action'] = GET_ACTION("guest", $GLOBALS['what']);
+} // END - if
+
+// Get action value directly from URL
+$act = COMPILE_CODE($GLOBALS['action']);
 
 // Add the guest's menu here...
 if ((getConfig('guest_menu') == "Y") || (!EXT_IS_ACTIVE("sql_patches", true))) {