X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=birthday_confirm.php;h=cd2236573b90f6257ce33fb8e35dd603bf5e1b25;hp=abc3bad31f492c87949df28684d8672adeac3d6c;hb=14ae8b40cb632b2135707bd21f599a2bc8a4afdc;hpb=75ad748a68473ace540251427a74fb781b1145e9 diff --git a/birthday_confirm.php b/birthday_confirm.php index abc3bad31f..cd2236573b 100644 --- a/birthday_confirm.php +++ b/birthday_confirm.php @@ -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,10 +71,11 @@ 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'])); + $DEPTH = 0; + ADD_POINTS_REFSYSTEM($uid, $GIFT, false, "0", $locked, strtolower($_CONFIG['birthday_mode'])); // Remove entry from table $result = SQL_QUERY_ESC("DELETE LOW_PRIORITY FROM "._MYSQL_PREFIX."_user_birthday WHERE userid=%d LIMIT 1", @@ -134,7 +133,7 @@ WHERE b.userid=%d AND b.chk_value='%s' LIMIT 1", else { // You have to configure first! - LOAD_URL(URL."/install.php"); + LOAD_URL("install.php"); } // Really all done here... ;-) ?>