From 3c2f106c02f6d86a90f529a0564abcbbe716fe71 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Tue, 30 Sep 2008 20:49:33 +0000 Subject: [PATCH] Fix for newsletter --- inc/databases.php | 2 +- inc/modules/admin/what-send_newsletter.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/inc/databases.php b/inc/databases.php index 0e73034155..8e4aeb6a37 100644 --- a/inc/databases.php +++ b/inc/databases.php @@ -113,7 +113,7 @@ define('USAGE_BASE', "usage"); define('SERVER_URL', "http://www.mxchange.org"); // This current patch level -define('CURR_SVN_REVISION', "425"); +define('CURR_SVN_REVISION', "426"); // Take a prime number which is long (if you know a longer one please try it out!) define('_PRIME', 591623); diff --git a/inc/modules/admin/what-send_newsletter.php b/inc/modules/admin/what-send_newsletter.php index 35b7e5eba6..3b2a13d966 100644 --- 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 - $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']); -- 2.39.5