From: Roland Häder Date: Thu, 2 Oct 2008 22:59:55 +0000 (+0000) Subject: Should fix a missing config entry in install phase. Thanks to Piter01. :-) X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=4aa938e3d1e0349ea63dc23eb70f1c7fe662d9c7;p=mailer.git Should fix a missing config entry in install phase. Thanks to Piter01. :-) --- diff --git a/inc/databases.php b/inc/databases.php index e79d6dd0a7..4fad9a95fb 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', "436"); +define('CURR_SVN_REVISION', "437"); // Take a prime number which is long (if you know a longer one please try it out!) define('_PRIME', 591623); diff --git a/inc/session.php b/inc/session.php index d3fee5875a..a4ed2cde4d 100644 --- a/inc/session.php +++ b/inc/session.php @@ -87,7 +87,7 @@ if ((!empty($_GET['user'])) && ($CLICK == 1) && (basename($_SERVER['PHP_SELF']) } // Set cookie when default refid > 0 -if (!isSessionVariableSet('refid') || (!empty($GLOBALS['refid'])) || ((get_session('refid') == "0") && ($_CONFIG['def_refid'] > 0))) { +if (!isSessionVariableSet('refid') || (!empty($GLOBALS['refid'])) || ((get_session('refid') == "0") && (isset($_CONFIG['def_refid'])) && ($_CONFIG['def_refid'] > 0))) { // Set cookie set_session('refid', $GLOBALS['refid']); } // END - if