X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Flibs%2Fjackpot_functions.php;h=1ab1efed809f2c4cec66716143cd2fb31bdb42e8;hb=88baf1e93c2245ce391024c7dcc16fc39dd09e95;hp=20be2a86b6bc5742acb33e1baf0eaa49b6b20752;hpb=63f159414369b5ea19a8ca75d8cd8033c45d8341;p=mailer.git diff --git a/inc/libs/jackpot_functions.php b/inc/libs/jackpot_functions.php index 20be2a86b6..1ab1efed80 100644 --- a/inc/libs/jackpot_functions.php +++ b/inc/libs/jackpot_functions.php @@ -49,10 +49,10 @@ function getJackpotPoints () { // Read them $result = SQL_QUERY("SELECT `points` FROM `{?_MYSQL_PREFIX?}_jackpot` WHERE `ok`='ok' LIMIT 1", __FUNCTION__, __LINE__); - // Do we have an entry? + // 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();