]> git.mxchange.org Git - mailer.git/blobdiff - inc/libs/jackpot_functions.php
Now the last extension update is being applied, added missing wrapper function for...
[mailer.git] / inc / libs / jackpot_functions.php
index 68f76b9c37e99ea218631d27f9a28130e60a965e..1ab1efed809f2c4cec66716143cd2fb31bdb42e8 100644 (file)
@@ -52,7 +52,7 @@ function getJackpotPoints () {
        // Is there an entry?
        if (SQL_HASZERONUMS($result)) {
                // No, so create line
-               SQL_QUERY("INSERT INTO `{?_MYSQL_PREFIX?}_jackpot` (`ok`,`points`) VALUES ('ok','0.00000')", __FUNCTION__, __LINE__);
+               SQL_QUERY("INSERT INTO `{?_MYSQL_PREFIX?}_jackpot` (`ok`, `points`) VALUES ('ok','0.00000')", __FUNCTION__, __LINE__);
        } else {
                // Read the line
                $data = SQL_FETCHARRAY($result);
@@ -78,7 +78,7 @@ function addPointsToJackpot ($points) {
 // Subtracts points from the jackpot
 function subtractPointsFromJackpot ($points) {
        // First failed
-       $ret = false;
+       $ret = FALSE;
 
        // Get jackpot points for dummy
        $jackpot = getJackpotPoints();