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&what=list_payouts&do=accept&pid=".$content['id']."\">".PAYOUT_ACCEPT_PAYOUT."</a> | <a href=\"{!URL!}/modules.php?module=admin&what=list_payouts&do=reject&pid=".$content['id']."\">".PAYOUT_REJECT_PAYOUT."</a>";