From: Roland Häder Date: Tue, 21 Dec 2010 19:10:35 +0000 (+0000) Subject: Fixed obsolete (?) links to category/payment X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=ba5d5acef7f0a990271379d6344f4dce4ec50d36;p=mailer.git Fixed obsolete (?) links to category/payment --- diff --git a/inc/modules/admin/what-edit_emails.php b/inc/modules/admin/what-edit_emails.php index fdfe3c8bc0..01880f1670 100644 --- a/inc/modules/admin/what-edit_emails.php +++ b/inc/modules/admin/what-edit_emails.php @@ -61,7 +61,13 @@ ORDER BY if (!SQL_HASZERONUMS($result)) { if (isFormSent()) { // Make mail editable... - $result = SQL_QUERY_ESC("SELECT `id`, `sender` AS `userid`, `subject`, `text`, `url` FROM `{?_MYSQL_PREFIX?}_pool` WHERE `id`=%s LIMIT 1", + $result = SQL_QUERY_ESC("SELECT + `id`, `sender` AS `userid`, `subject`, `text`, `url` +FROM + `{?_MYSQL_PREFIX?}_pool` +WHERE + `id`=%s +LIMIT 1", array(bigintval(postRequestParameter('id'))), __FILE__, __LINE__); // Fetch row diff --git a/templates/de/html/admin/admin_unlock_emails_row.tpl b/templates/de/html/admin/admin_unlock_emails_row.tpl index f97d080f8a..2e18037fb7 100644 --- a/templates/de/html/admin/admin_unlock_emails_row.tpl +++ b/templates/de/html/admin/admin_unlock_emails_row.tpl @@ -14,10 +14,10 @@ {--ADMIN_TEST_URL--} - $content[cat_link] + $content[cat_id] - $content[pay_link] + $content[payment_id] $content[timestamp]