]> git.mxchange.org Git - mailer.git/blobdiff - inc/libs/doubler_functions.php
Problem with one URL not in reload lock fixed
[mailer.git] / inc / libs / doubler_functions.php
index e437c510baa54d67a177c3110661bfdb490b493e..85ad9e68722cac22ee6f6fcbfbb1465683cfb2eb 100644 (file)
@@ -57,7 +57,7 @@ function DOUBLER_GENERATE_TABLE($uid="0", $done='N', $ref='N', $sort="ASC")
                $NOT_FOUND = DOUBLER_GUEST_NO_ENTRIES_FOUND;
        }
 
-       if (($done == 'Y') && ($sort == "ASC"))
+       if (($done == "Y") && ($sort == "ASC"))
        {
                // Already payed out points (latest payouts first)
                $limit = $_CONFIG['doubler_display_old'];
@@ -130,13 +130,13 @@ function DOUBLER_GET_TOTAL_POINTS_LEFT()
        // Initialize variables
        $points = "0";
 
-       if ($_CONFIG['doubler_own'] == 'Y')
+       if ($_CONFIG['doubler_own'] == "Y")
        {
                // Take points from doubler's own account
                $points += $_CONFIG['doubler_points'] - $_CONFIG['doubler_used'];
        }
 
-       if ($_CONFIG['doubler_jackpot'] == 'Y')
+       if ($_CONFIG['doubler_jackpot'] == "Y")
        {
                // Load jackpot
                $result = SQL_QUERY("SELECT points FROM "._MYSQL_PREFIX."_jackpot WHERE ok='ok' LIMIT 1", __FILE__, __LINE__);