]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/guest/what-login.php
New naming convention applied to many functions, see #118 for details
[mailer.git] / inc / modules / guest / what-login.php
index 69e77cdb883ac2533cb366d51efd804c4963ef2c..61303934d47c7fe202a2f722636047303a30e74c 100644 (file)
@@ -63,7 +63,7 @@ $add = '';
 if ((isUserIdSet()) && (isSessionVariableSet('u_hash'))) {
        // Maybe, then continue with it
        $uid = getUserId();
-} elseif ((REQUEST_ISSET_POST(('id'))) && (REQUEST_ISSET_POST(('password'))) && (IS_FORM_SENT())) {
+} elseif ((REQUEST_ISSET_POST('id')) && (REQUEST_ISSET_POST(('password'))) && (IS_FORM_SENT())) {
        // Set userid and crypt password when login data was submitted
        if ((EXT_IS_ACTIVE('nickname')) && (NICKNAME_PROBE_ON_USERID(REQUEST_POST('id')))) {
                // Nickname entered
@@ -75,7 +75,7 @@ if ((isUserIdSet()) && (isSessionVariableSet('u_hash'))) {
 } elseif (REQUEST_ISSET_POST(('new_pass'))) {
        // New password requested
        $uid = 0;
-       if (REQUEST_ISSET_POST(('id'))) $uid = REQUEST_POST('id');
+       if (REQUEST_ISSET_POST('id')) $uid = REQUEST_POST('id');
 } else {
        // Not logged in
        $uid = 0; $hash = '';
@@ -169,10 +169,10 @@ if (!empty($URL)) {
        // URL was constructed
        if (getTotalFatalErrors()) {
                // Fatal errors!
-               LOAD_INC_ONCE('inc/fatal_errors.php');
+               loadIncludeOnce('inc/fatal_errors.php');
        } else {
                // Load URL
-               LOAD_URL($URL);
+               redirectToUrl($URL);
        }
 } // END - if