X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fmodules%2Fmember%2Fwhat-wernis.php;h=4fc5af8c21563ed07a19f4d48be625ef336cc4b6;hp=f6ef2687f6a853dcd7eb093734a2445d608589dc;hb=61bddb167e29e7275f5a1c9fa8cb80431fa5ee6f;hpb=9955cbe6e80fa364e01d1cb29d14a587f48736f1 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