projects
/
mailer.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix for newsletter
[mailer.git]
/
inc
/
modules
/
admin
/
what-send_newsletter.php
diff --git
a/inc/modules/admin/what-send_newsletter.php
b/inc/modules/admin/what-send_newsletter.php
index 35b7e5eba6f3ce7bb76fd40694bff68f8380d9ad..3b2a13d966335ebdf3783e7bb8e0b99170a20519 100644
(file)
--- a/
inc/modules/admin/what-send_newsletter.php
+++ b/
inc/modules/admin/what-send_newsletter.php
@@
-67,7
+67,7
@@
if (isset($_POST['ok']))
$_POST['text'] = COMPILE_CODE($_POST['text']);
// Load template
$_POST['text'] = COMPILE_CODE($_POST['text']);
// Load template
- $msg = LOAD_EMAIL_TEMPLATE($template,
$_POST['text']
, $id);
+ $msg = LOAD_EMAIL_TEMPLATE($template,
array('text' => $_POST['text'])
, $id);
// ... and send it away!
SEND_NEWSLETTER($email, $_POST['subject'], $msg, $_POST['mode']);
// ... and send it away!
SEND_NEWSLETTER($email, $_POST['subject'], $msg, $_POST['mode']);