X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-lock_sponsor.php;h=d037477d15b760569bbb08b7749ec89205ad9197;hb=refs%2Fheads%2F0.2.1-FINAL;hp=1a661a58e00b94b347eb0355118bd4aa95abdd99;hpb=e9da1508b2a3ccbf63adc999981674740a47e074;p=mailer.git diff --git a/inc/modules/admin/what-lock_sponsor.php b/inc/modules/admin/what-lock_sponsor.php index 1a661a58e0..d037477d15 100644 --- a/inc/modules/admin/what-lock_sponsor.php +++ b/inc/modules/admin/what-lock_sponsor.php @@ -16,7 +16,7 @@ * $Author:: $ * * -------------------------------------------------------------------- * * Copyright (c) 2003 - 2009 by Roland Haeder * - * Copyright (c) 2009 - 2015 by Mailer Developer Team * + * Copyright (c) 2009 - 2016 by Mailer Developer Team * * For more information visit: http://mxchange.org * * * * This program is free software; you can redistribute it and/or modify * @@ -46,7 +46,7 @@ $message = ''; if (isGetRequestElementSet('id')) { // Check for selected sponsor - $result_sponsor = sqlQueryEscaped("SELECT `gender`, `surname`, `family`, `email`, `status` FROM `{?_MYSQL_PREFIX?}_sponsor_data` WHERE `id`=%s LIMIT 1", + $result_sponsor = sqlQueryEscaped("SELECT `sex`, `surname`, `family`, `email`, `status` FROM `{?_MYSQL_PREFIX?}_sponsor_data` WHERE `id`=%s LIMIT 1", array(bigintval(getRequestElement('id'))), __FILE__, __LINE__); if (sqlNumRows($result_sponsor) == 1) { // Get sponsor's current status and let only confirmed and locked status pass @@ -96,7 +96,7 @@ if (isGetRequestElementSet('id')) { } // Create email link - $content['email_link'] = '' . $content['gender'] . ' ' . $content['surname'] . ' ' . $content['family'] . ''; + $content['email_link'] = '' . $content['sex'] . ' ' . $content['surname'] . ' ' . $content['family'] . ''; // Display form loadTemplate('admin_lock_sponsor', FALSE, $content);