X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=doubler.php;h=791dc3e025881aefc00a0cef03c5d71397b34c3e;hp=9b6745a31d70cf50ebfdfa030a2bdb9889e126cf;hb=52f1b0f588b492a7668204a74da47d5732791331;hpb=64c8349613addc3da2242c5cd6b99d64e3fb5f8e diff --git a/doubler.php b/doubler.php index 9b6745a31d..791dc3e025 100644 --- a/doubler.php +++ b/doubler.php @@ -84,7 +84,8 @@ $userid = 0; // If no account was found set default refid and status to CONFIRMED if (empty($GLOBALS['refid'])) { - $GLOBALS['refid'] = getConfig('def_refid'); + // Determine referal id again + $GLOBALS['refid'] = determineReferalId(); $status = 'CONFIRMED'; } // END - if @@ -243,7 +244,7 @@ if (isExtensionActive('nickname')) { $content['payout_time'] = getMessage('DOUBLER_PAYOUT_TIME_' . getConfig('doubler_send_mode')); // Generate table with already payed out doubles -$content['payout_history'] = generateDoublerTable('0', 'Y', 'N', 'DESC'); +$content['payout_history'] = generateDoublerTable(0, 'Y', 'N', 'DESC'); // Generate timemark $content['timeout_mark'] = createFancyTime(getConfig('doubler_timeout'));