Fixed obsolete (?) links to category/payment
authorRoland Häder <roland@mxchange.org>
Tue, 21 Dec 2010 19:10:35 +0000 (19:10 +0000)
committerRoland Häder <roland@mxchange.org>
Tue, 21 Dec 2010 19:10:35 +0000 (19:10 +0000)
inc/modules/admin/what-edit_emails.php
templates/de/html/admin/admin_unlock_emails_row.tpl

index fdfe3c8..01880f1 100644 (file)
@@ -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
index f97d080..2e18037 100644 (file)
                <a href="{%pipe,generateFrametesterUrl=$content[url]%}" target="_blank">{--ADMIN_TEST_URL--}</a>
        </td>
        <td class="{%template,ColorSwitch%} top right" align="center">
-               <span class="notice" title="{%pipe,getCategory=$content[cat_id]%}">$content[cat_link]</span>
+               <span class="notice" title="{%pipe,getCategory=$content[cat_id]%}">$content[cat_id]</span>
        </td>
        <td class="{%template,ColorSwitch%} top right" align="center">
-               <span class="notice" title="{%pipe,getPaymentTitlePrice=$content[payment_id]%}">$content[pay_link]</span>
+               <span class="notice" title="{%pipe,getPaymentTitlePrice=$content[payment_id]%}">$content[payment_id]</span>
        </td>
        <td class="{%template,ColorSwitch%} top right" align="center">
                $content[timestamp]