X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-edit_emails.php;h=314bab25698c6d3868be1ad5c171f4c166ad28dd;hb=501a861954273a54a21b714587fc33b57322d8e4;hp=c03be85a37c421c0933cf5bfa34f5a6529a407f4;hpb=1ebf518b9552f71ee95de6f4b80e6de3a27716d1;p=mailer.git diff --git a/inc/modules/admin/what-edit_emails.php b/inc/modules/admin/what-edit_emails.php index c03be85a37..314bab2569 100644 --- a/inc/modules/admin/what-edit_emails.php +++ b/inc/modules/admin/what-edit_emails.php @@ -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