X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fmember%2Fwhat-wernis.php;h=4fc5af8c21563ed07a19f4d48be625ef336cc4b6;hb=afa266fcd3a5c430ffff6c5fc4ce455a2fa87f1d;hp=f6ef2687f6a853dcd7eb093734a2445d608589dc;hpb=a374e38d5b4b7a9af43706eb562c3d0cab2d88fa;p=mailer.git diff --git a/inc/modules/member/what-wernis.php b/inc/modules/member/what-wernis.php index f6ef2687f6..4fc5af8c21 100644 --- a/inc/modules/member/what-wernis.php +++ b/inc/modules/member/what-wernis.php @@ -116,6 +116,9 @@ if ((!isset($_GET['mode'])) || ($_GET['mode'] == "choose")) { $points = explode(".", $points); $points = bigintval($points[0]); + // Remove the registration fee + $points = $points - $_CONFIG['points_register']; + // Is this enougth for a payout? if ($points < $_CONFIG['wernis_min_payout']) { // No, then abort here