]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-edit_emails.php
Several array indexes renamed, TODOs.txt updated
[mailer.git] / inc / modules / admin / what-edit_emails.php
index c03be85a37c421c0933cf5bfa34f5a6529a407f4..314bab25698c6d3868be1ad5c171f4c166ad28dd 100644 (file)
@@ -77,7 +77,7 @@ WHERE
        `id`=%s
 LIMIT 1",
                        array(
-                               postRequestElement('subj'),
+                               postRequestElement('subject'),
                                postRequestElement('text'),
                                postRequestElement('url'),
                                bigintval(postRequestElement('id')),
@@ -96,14 +96,13 @@ LIMIT 1",
                $OUT = ''; $SW = 2;
                while ($content = SQL_FETCHARRAY($result)) {
                        // Prepare data for the row template
-                       // @TODO Rewritings: subj->subject in template
                        $content = array(
-                               'sw'   => $SW,
-                               'id'   => $content['id'],
-                               'subj' => $content['subject'],
+                               'sw'      => $SW,
+                               'id'      => $content['id'],
+                               'subject' => $content['subject'],
                                'userid'  => generateUserProfileLink($content['sender']),
-                               'pay'  => getPaymentTitlePrice($content['payment_id']),
-                               'cat'  => getCategory($content['cat_id']),
+                               'pay'     => getPaymentTitlePrice($content['payment_id']),
+                               'cat'     => getCategory($content['cat_id']),
                        );
 
                        // Load row template and switch colors