]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/guest/what-confirm.php
Huge rewrite of default parameters, ext-network continued:
[mailer.git] / inc / modules / guest / what-confirm.php
index f6fbe748479a45d39ee76e26353a9a0619b22d7c..4e06989ead12dffdee9f56a5b6639279fc8e14cc 100644 (file)
@@ -52,7 +52,7 @@ $content = array(
 
 if (isGetRequestElementSet('hash')) {
        // Initialize the user id
-       $userid = 0;
+       $userid = '0';
 
        // Search for an unconfirmed or confirmed account
        $result = SQL_QUERY_ESC("SELECT `userid`, `email`, `refid`,`gender` FROM `{?_MYSQL_PREFIX?}_user_data` WHERE `user_hash`='%s' AND (`status`='UNCONFIRMED' OR `status`='CONFIRMED') LIMIT 1",
@@ -90,7 +90,7 @@ if (isGetRequestElementSet('hash')) {
                                        updateReferalCounter($rid);
 
                                        // Shall I 'pay' the referal points imidiately?
-                                       if (getConfig('ref_payout') == 0) {
+                                       if (getConfig('ref_payout') == '0') {
                                                // Yes, 'pay' it now
                                                $locked = false;
                                        } else {