- $content['points'] = translateComma($points);
- $content['min_points'] = translateComma(getConfig('wernis_min_payout'));
-
- // Add fees to array
- WERNIS_ADD_FEES_TO_ARRAY($content);
-
- // Init WDS66 userid
- $content['wernis_userid'] = '';
-
- // Are there some entries?
- if (fetchUserData(getMemberId())) {
- // Fetch id
- $content['wernis_userid'] = getUserData('wernis_userid');
- } // END - if
-} elseif ((getRequestElement('mode') == 'withdraw') && (getConfig('wernis_withdraw_active') == 'Y')) {
- // Get total points for just displaying them
- $points = countSumTotalData(getMemberId(), 'user_points', 'points') - countSumTotalData(getMemberId(), 'user_data', 'used_points');
-
+ $content['points'] = $points;
+} elseif ((getRequestElement('do') == 'withdraw') && (isWernisWithdrawActive())) {