X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-del_transfer.php;h=eb79d653e832cbbbd185ead41eda8e63f673e09a;hp=567b318c215162c5b81e4e440a06eaad8fdcea79;hb=2df9f7a53f8b1dd5164f87824a324ccb3b6634cb;hpb=cd951a117b88c07a2dcbf3e97587b4c370973b85 diff --git a/inc/modules/admin/what-del_transfer.php b/inc/modules/admin/what-del_transfer.php index 567b318c21..eb79d653e8 100644 --- a/inc/modules/admin/what-del_transfer.php +++ b/inc/modules/admin/what-del_transfer.php @@ -16,8 +16,8 @@ * $Author:: $ * * -------------------------------------------------------------------- * * Copyright (c) 2003 - 2009 by Roland Haeder * - * Copyright (c) 2009 - 2011 by Mailer Developer Team * - * For more information visit: http://www.mxchange.org * + * Copyright (c) 2009 - 2012 by Mailer Developer Team * + * For more information visit: http://mxchange.org * * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * @@ -50,7 +50,7 @@ if (isFormSent('delete')) { initSqls(); // Delete entries... - foreach (postRequestParameter('sel') as $id => $sel) { + foreach (postRequestElement('sel') as $id => $sel) { addSql(SQL_QUERY_ESC('DELETE LOW_PRIORITY FROM `{?_MYSQL_PREFIX?}_user_transfers_in` WHERE `trans_id`=%s LIMIT 1', array(bigintval($id)), __FILE__, __LINE__, false)); addSql(SQL_QUERY_ESC('DELETE LOW_PRIORITY FROM `{?_MYSQL_PREFIX?}_user_transfers_out` WHERE `trans_id`=%s LIMIT 1', @@ -64,7 +64,12 @@ if (isFormSent('delete')) { // We only need outgoing transfers $result = SQL_QUERY('SELECT - `userid` AS `from_userid`, `to_userid`, `trans_id`, `points`, `reason`, `time_trans` + `userid` AS `from_userid`, + `to_userid`, + `trans_id`, + `points`, + `reason`, + `time_trans` FROM `{?_MYSQL_PREFIX?}_user_transfers_out` ORDER BY @@ -107,7 +112,7 @@ $content['title'] = '{--TRANSFER_LIST_ALL--}'; // Show delete button here $content['delete'] = ' -'; +'; // Load final template loadTemplate('admin_list_transfer', false, $content);