@@ -52,7+52,7 @@ if (isPostRequestElementSet('edit')) {
$SW = 2; $rowNameS = '';
foreach (postRequestElement('sel') as $template => $sel) {
// First of all load data from DB
$SW = 2; $rowNameS = '';
foreach (postRequestElement('sel') as $template => $sel) {
// First of all load data from DB
- $result = SQL_QUERY_ESC("SELECT `admin_id`, `id`, `mail_template` FROM `{?_MYSQL_PREFIX?}_admins_mails` WHERE `mail_template`='%s' ORDER BY `id` ASC",
+ $result = SQL_QUERY_ESC("SELECT `admin_id`, `id` FROM `{?_MYSQL_PREFIX?}_admins_mails` WHERE `mail_template`='%s' ORDER BY `id` ASC",
array($template), __FILE__, __LINE__);
$OUT = '';
$adminId2 = '0';
array($template), __FILE__, __LINE__);
$OUT = '';
$adminId2 = '0';
@@ -79,8+79,9 @@ if (isPostRequestElementSet('edit')) {