X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fpool%2Fpool-user.php;h=ee0bb3f0b874f9a669076e269456c8a86d482c26;hp=76aabe0042b205eb93650c5963f5ce5acfd56102;hb=ca256746fe0757a23df4064824c8fe2087ad5634;hpb=387d390181f4aefd6d1e6d8fe16d9697801e99d7 diff --git a/inc/pool/pool-user.php b/inc/pool/pool-user.php index 76aabe0042..ee0bb3f0b8 100644 --- a/inc/pool/pool-user.php +++ b/inc/pool/pool-user.php @@ -291,7 +291,7 @@ if (!SQL_HASZERONUMS($result_main)) { array(bigintval($mailData['id'])), __FILE__, __LINE__); } else { // Is the userid set? - if (isValidUserId($userid)) { + if (isValidId($userid)) { // User does not exists, pay points back $points = getPaymentData($mailData['payment_id']); initReferralSystem(); @@ -321,7 +321,7 @@ if (!SQL_HASZERONUMS($result_main)) { // Walk through all points foreach ($pointsBack as $userid => $PB) { // Add points only when we have points left to add and a valid user id - if (($PB > 0) && (isValidUserId($userid))) { + if (($PB > 0) && (isValidId($userid))) { // Prepare content $content = array( 'points' => $PB