]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/guest/what-rallyes.php
Fix for trying to get a message from a message (no id)
[mailer.git] / inc / modules / guest / what-rallyes.php
index 26417389b94f979e1fd73c131f5dd7011a9bb0af..31dc59992a35be5bd4d89dd4938599a493a6255d 100644 (file)
@@ -109,7 +109,7 @@ if (SQL_NUMROWS($result) == 1) {
        $content['min_users'] = determineReferalRallyeMinimumUsers($min_users);
 
        // Determine min prices (now in function)
-       $content['min_prices'] = determineReferalRallyeMinimumPrices();
+       $content['min_prices'] = determineReferalRallyeMinimumPrices($min_prices);
 
        if ($expired === true) {
                $content['prices']       = addReferalRallyeWinners($id);
@@ -117,7 +117,7 @@ if (SQL_NUMROWS($result) == 1) {
                $content['can_win_this'] = getMessage('RALLYE_OUR_WINNERS_ARE');
        } else {
                $content['prices']       = addReferalRallyePrices($id, 'html');
-               $content['top_users']    = addReferalRallyeTopUsers($id, getUserId());
+               $content['top_users']    = addReferalRallyeTopUsers($id, getMemberId());
                $content['can_win_this'] = getMessage('RALLYE_YOU_CAN_WIN');
        }