]> git.mxchange.org Git - mailer.git/blobdiff - inc/purge/purge-general.php
Mailer project rwritten:
[mailer.git] / inc / purge / purge-general.php
index fa5cf3f0569ee48472f5690a4759e9089becabc9..cb33c8799236f2e41ddc98e86fc63eb728a5a449 100644 (file)
@@ -77,7 +77,7 @@ ORDER BY
                                SQL_FREERESULT($result_links);
 
                                // At least one link was found, enougth to pay back the points
-                               if (($userid != $content['userid']) && (isValidUserId($userid)) && ($points > 0)) {
+                               if (($userid != $content['userid']) && (isValidId($userid)) && ($points > 0)) {
                                        // Directly add points back to senders account
                                        addPointsAutoPurge($userid, $points);
                                        $points = '0';