]> git.mxchange.org Git - mailer.git/commitdiff
Fixes for the fix
authorRoland Häder <roland@mxchange.org>
Thu, 5 Nov 2009 16:25:03 +0000 (16:25 +0000)
committerRoland Häder <roland@mxchange.org>
Thu, 5 Nov 2009 16:25:03 +0000 (16:25 +0000)
inc/libs/rallye_functions.php

index fa219af1ddf03cc49cf037efaff26383406507a1..2199fbb9b2cf9d5dd4e999d726f295194db9192d 100644 (file)
@@ -267,8 +267,8 @@ LIMIT 1",
                $DATA['userid'][]   = $userid;
                $DATA['ref'][]      = $cnt;
                $DATA['cpoints'][]  = $content['curr_points'];
-               $DATA['min_users']  = $content['min_users'];
-               $DATA['min_prices'] = $content['min_prices'];
+               $min_users  = $content['min_users'];
+               $min_prices = $content['min_prices'];
        } // END - while
 
        // Free memory
@@ -301,11 +301,11 @@ LIMIT 1",
        } // END - for
 
        // Translate min_prices/users
-       $DATA['min_prices'] = determineReferalRallyeMinimumPrices($content['min_prices']);
-       $DATA['min_users']  = determineReferalRallyeMinimumUsers($content['min_users']);
+       $content['min_prices'] = determineReferalRallyeMinimumPrices($min_prices);
+       $content['min_users']  = determineReferalRallyeMinimumUsers($min_users);
 
        // Add footer
-       $OUT .= loadTemplate('guest_rallye_footer', true);
+       $OUT .= loadTemplate('guest_rallye_footer', true, $content);
 
        // And finnally return the output
        return $OUT;