]> git.mxchange.org Git - mailer.git/blobdiff - birthday_confirm.php
Updating profiles fixed. It was still broken since I have changed the password hashin...
[mailer.git] / birthday_confirm.php
index abc3bad31f492c87949df28684d8672adeac3d6c..27729533e4e3748d44c001562bdbeb1d976fb960 100644 (file)
@@ -37,8 +37,6 @@ require_once("inc/libs/security_functions.php");
 // Init "action" and "what"
 global $what, $action;
 $GLOBALS['what'] = ""; $GLOBALS['action'] = "";
-if (!empty($_GET['action'])) $GLOBALS['action'] = secureString($_GET['action']);
-if (!empty($_GET['what'])) $GLOBALS['what'] = secureString($_GET['what']);
 
 // Set module
 $GLOBALS['module'] = "birthday_confirm"; $CSS = -1;
@@ -73,7 +71,7 @@ WHERE b.userid=%d AND b.chk_value='%s' LIMIT 1",
                {
                        // Set mode depending on how many mails the member has to confirm
                        $locked = false;
-                       if (($ref_payout > 0) && ($CONFIG['allow_direct_pay'] == "N")) $locked = true;
+                       if (($ref_payout > 0) && ($CONFIG['allow_direct_pay'] == 'N')) $locked = true;
 
                        // Add points to account
                        ADD_POINTS_REFSYSTEM($uid, $GIFT, false, "0", $locked, strtolower($CONFIG['birthday_mode']));