Final fixes for password reset behavior on sql_patches removal :)
[mailer.git] / inc / modules / admin.php
index 5219de2..458f1bc 100644 (file)
@@ -308,12 +308,12 @@ if (!isBooleanConstantAndTrue('admin_registered')) {
                @session_destroy();
 
                // Load logout template
-               if (isset($_GET['install'])) {
+               if (isset($_GET['register'])) {
                        // Secure input
-                       $install = secureString(SQL_ESCAPE($_GET['install']));
+                       $register = secureString(SQL_ESCAPE($_GET['register']));
 
                        // Special logout redirect for installation of given extension
-                       LOAD_TEMPLATE(sprintf("admin_logout_%s_install", $install));
+                       LOAD_TEMPLATE(sprintf("admin_logout_%s_install", $register));
                } elseif (isset($_GET['remove'])) {
                        // Secure input
                        $remove = secureString(SQL_ESCAPE($_GET['remove']));