X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fdoubler_send.php;h=1fe8475e0f8815581edfc0dde7f5bf0febe1640b;hb=541d2d03d7fac53d38b5d4236d1c35fb5f1f526b;hp=71685ced4ea0542deff4ce7aae370565676ce932;hpb=c45b1827a16928c65ecc1aea6a9d7a504c4874d4;p=mailer.git diff --git a/inc/doubler_send.php b/inc/doubler_send.php index 71685ced4e..1fe8475e0f 100644 --- a/inc/doubler_send.php +++ b/inc/doubler_send.php @@ -38,7 +38,7 @@ if (ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) { } // Initialize variables -$jackpot = "0"; $user = "0"; +$jackpot = 0; $user = 0; // Get total points of the doubler itself $DOUBLER_POINTS = DOUBLER_GET_TOTAL_POINTS_LEFT(); @@ -51,7 +51,7 @@ if ($DOUBLER_POINTS == 0) { unset($_GET['DOUBLER_UID']); unset($_POST['DOUBLER_UID']); set_session('DOUBLER_UID', ""); -if (empty($DOUBLER_UID)) $DOUBLER_UID = "0"; +if (empty($DOUBLER_UID)) $DOUBLER_UID = 0; // Check for doubles which we can pay out $min = bigintval($_CONFIG['doubler_min'] * 2); @@ -103,7 +103,7 @@ if (((SQL_NUMROWS($result_total) > 0) && ($_CONFIG['doubler_sent_all'] == "Y")) else { // No referral points found - $ref = "0"; + $ref = 0; } // Exclude webmaster from doubling...