A lot code rewritten:
[mailer.git] / inc / modules / admin / what-list_payouts.php
index 23f72e3068a174d93c91a36e89f1ea0f97d6e375..2f5d98b20bcc337a457ffc599dd608d9e37e381f 100644 (file)
@@ -235,7 +235,7 @@ ORDER BY
 
        if (SQL_NUMROWS($result) > 0) {
                // List found payouts
-               $OUT = ''; $SW = 2;
+               $OUT = '';
                while ($content = SQL_FETCHARRAY($result)) {
                        if ($content['status'] == 'NEW') {
                                // Generate links for direct accepting and rejecting
@@ -262,12 +262,10 @@ ORDER BY
                        } // END - if
 
                        // Add/Translate some data
-                       $content['sw']               = $SW;
                        $content['payout_timestamp'] = generateDateTime($content['payout_timestamp'], 2);
 
                        // Add row and switch color
                        $OUT .= loadTemplate('admin_list_payouts_row', true, $content);
-                       $SW = 3 - $SW;
                } // END - while
 
                // Free memory