Reset rewritten, SQL fixed, zeros are now numeric
[mailer.git] / inc / libs / autopurge_functions.php
index 6207391..1b20a24 100644 (file)
@@ -61,7 +61,7 @@ function AUTOPURGE_ADD_POINTS($uid, $points)
        {
                // ... to jackpot account
                ADD_JACKPOT($points);
-               if (empty($jackpot)) $jackpot = "0";
+               if (empty($jackpot)) $jackpot = 0;
                $jackpot += $points;
        }
         else