From 603b8e70904e268376814b05a577749e61ea83db Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Sun, 21 Sep 2008 15:53:51 +0000 Subject: [PATCH] Invalid configuration mailid causes empty page --- inc/databases.php | 2 +- mailid.php | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/inc/databases.php b/inc/databases.php index 7bac8788d1..a425cc1b84 100644 --- a/inc/databases.php +++ b/inc/databases.php @@ -113,7 +113,7 @@ define('USAGE_BASE', "usage"); define('SERVER_URL', "http://www.mxchange.org"); // This current patch level -define('CURR_SVN_REVISION', "378"); +define('CURR_SVN_REVISION', "380"); // Take a prime number which is long (if you know a longer one please try it out!) define('_PRIME', 591623); diff --git a/mailid.php b/mailid.php index 09b03ff383..746217aa62 100644 --- a/mailid.php +++ b/mailid.php @@ -206,6 +206,10 @@ if (isBooleanConstantAndTrue('mxchange_installed')) case "REJECT": // Redirect to rejection page LOAD_URL($_CONFIG['reject_url']); break; + + default: + LOAD_URL("modules.php?module=index&msg=".CODE_UNKNOWN_STATUS."&ext=mailid"); + break; } } else { // Include footer -- 2.39.5