Double brackets removed, some fixes
[mailer.git] / inc / modules / admin / what-list_payouts.php
index 03cb3d3457edc8d65f65adb9885178b93ec1a8e4..d0e56e9ed21a367f7558ca541739489f1bf32acf 100644 (file)
@@ -222,7 +222,7 @@ ORDER BY p.payout_timestamp DESC", __FILE__, __LINE__);
        if (SQL_NUMROWS($result) > 0) {
                // List found payouts
                $OUT = ''; $SW = 2;
-               while ($content = SQL_FETCHROW($result)) {
+               while ($content = SQL_FETCHARRAY($result)) {
                        if ($content['status'] == "NEW") {
                                // Generate links for direct accepting and rejecting
                                $content['status'] = "<a href=\"{!URL!}/modules.php?module=admin&amp;what=list_payouts&amp;do=accept&amp;pid=".$content['id']."\">".PAYOUT_ACCEPT_PAYOUT."</a>&nbsp;|&nbsp;<a href=\"{!URL!}/modules.php?module=admin&amp;what=list_payouts&amp;do=reject&amp;pid=".$content['id']."\">".PAYOUT_REJECT_PAYOUT."</a>";