]> git.mxchange.org Git - mailer.git/commitdiff
Some glitches fixed... ;)
authorRoland Häder <roland@mxchange.org>
Mon, 29 Sep 2008 23:04:44 +0000 (23:04 +0000)
committerRoland Häder <roland@mxchange.org>
Mon, 29 Sep 2008 23:04:44 +0000 (23:04 +0000)
inc/databases.php
inc/modules/guest/what-login.php
inc/mysql-manager.php

index 94369d9c6210de7aab73e67df4e1f3e42d49f1d1..e812ac9b8f247383d8dbfda6d0271521d5d1d206 100644 (file)
@@ -113,7 +113,7 @@ define('USAGE_BASE', "usage");
 define('SERVER_URL', "http://www.mxchange.org");
 
 // This current patch level
-define('CURR_SVN_REVISION', "415");
+define('CURR_SVN_REVISION', "416");
 
 // Take a prime number which is long (if you know a longer one please try it out!)
 define('_PRIME', 591623);
index ad2c106e3a66db890f2a30f350e2cfa52a7a84c3..7a147e018faba53c1e08a9c50009120f11b0e2ce 100644 (file)
@@ -170,18 +170,18 @@ if (IS_MEMBER()) {
                                        // Procedure to checking for login data
                                        if (($BONUS) && (EXT_IS_ACTIVE("bonus"))) {
                                                // Bonus added (just displaying!)
-                                               $URL = URL."/modules.php?module=chk_login&mode=bonus";
+                                               $URL = URL."/modules.php?module=chk_login&amp;mode=bonus";
                                        } else {
                                                // Bonus not added
-                                               $URL = URL."/modules.php?module=chk_login&mode=login";
+                                               $URL = URL."/modules.php?module=chk_login&amp;mode=login";
                                        }
                                } else {
                                        // Cannot update counter!
-                                       $URL = URL."/modules.php?module=".$GLOBALS['module']."&what=login&login=".CODE_CNTR_FAILED;
+                                       $URL = URL."/modules.php?module=index&amp;what=login&amp;login=".CODE_CNTR_FAILED;
                                }
                        } else {
                                // Cookies not setable!
-                               $URL = URL."/modules.php?module=".$GLOBALS['module']."&what=login&login=".CODE_NO_COOKIES;
+                               $URL = URL."/modules.php?module=index&amp;what=login&amp;login=".CODE_NO_COOKIES;
                        }
                } else {
                        // Update failture counter
@@ -219,7 +219,7 @@ if (IS_MEMBER()) {
                }
 
                // Construct URL
-               $URL = URL."/modules.php?module=".$GLOBALS['module']."&what=login&login=".$ERROR;
+               $URL = URL."/modules.php?module=index&amp;what=login&amp;login=".$ERROR;
        }
 } elseif ((!empty($_POST['new_pass'])) && (isset($uid))) {
        // Compile email when found in address (only secure chars!)
@@ -267,7 +267,7 @@ if (IS_MEMBER()) {
                        }
 
                        // Load URL
-                       LOAD_URL("modules.php?module=".$GLOBALS['module']."&amp;what=login&login=".$MSG);
+                       LOAD_URL("modules.php?module=index&amp;what=login&amp;login=".$MSG);
                }
        } else {
                // ID or email is wrong
index 186b1d43e1c678457ef27ae9e0f24ac82e7a75c6..3b795a314bd3f3f2d999f4f17664d772aed5bd84 100644 (file)
@@ -629,6 +629,7 @@ function IS_MEMBER()
                } else {
                        // Cookie data is invalid!
                        //* DEBUG: */ echo __LINE__."***<br />";
+                       destroy_user_session();
 
                        // Reset userid
                        $GLOBALS['userid'] = 0;