X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-list_sponsor.php;h=7a32072205f7bf817be500aa38423e4acea838c1;hp=72559cd0692078b9832d9ae892f5f93d27fc110b;hb=cf3765c38cf0a76f396aca291f71858936e92956;hpb=7f5ffcc103a856b8867ac5739dcf0a3b6710413a diff --git a/inc/modules/admin/what-list_sponsor.php b/inc/modules/admin/what-list_sponsor.php index 72559cd069..7a32072205 100644 --- a/inc/modules/admin/what-list_sponsor.php +++ b/inc/modules/admin/what-list_sponsor.php @@ -131,12 +131,11 @@ ORDER BY if (SQL_NUMROWS($result_main) > 0) { // At least one sponsor found! - $OUT = ''; $SW = 2; + $OUT = ''; while ($content = SQL_FETCHARRAY($result_main)) { // Transfer data to array $content = array( 'id' => $content['id'], - 'sw' => $SW, 'gender' => $content['gender'], 'surname' => $content['surname'], 'family' => $content['family'], @@ -150,8 +149,7 @@ ORDER BY // Load row template $OUT .= loadTemplate('admin_list_sponsor_row', true, $content); - $SW = 3 - $SW; - } + } // END - while // Free memory SQL_FREERESULT($result_main);