X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fmysql-manager.php;h=531aa79a79f594a34c9ceecd655ed43ce5576bf6;hp=58ea2ccaf1690966fa1eaf0c2ddbe9037fad8ed1;hb=c25e794a61b597f90bff599307ae4d766a2d3479;hpb=9a2b3bfe8ff89662ff006a9a267733934da36c24 diff --git a/inc/mysql-manager.php b/inc/mysql-manager.php index 58ea2ccaf1..531aa79a79 100644 --- a/inc/mysql-manager.php +++ b/inc/mysql-manager.php @@ -1548,6 +1548,7 @@ LIMIT 1", $data = SQL_FETCHARRAY($result); // Delete points entries as well + // @TODO Rewrite these lines to a filter SQL_QUERY_ESC("DELETE LOW_PRIORITY FROM `{?_MYSQL_PREFIX?}_user_points` WHERE `userid`=%s", array(bigintval($userid)), __FUNCTION__, __LINE__); @@ -1558,7 +1559,9 @@ LIMIT 1", } // END - if // Now, when we have all his points adds them do the jackpot! - if (isExtensionActive('jackpot')) addPointsToJackpot($data['points']); + if (isExtensionActive('jackpot')) { + addPointsToJackpot($data['points']); + } // END - if } // END - if // Free the result