// 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))) {