Fix for newsletter
authorRoland Häder <roland@mxchange.org>
Tue, 30 Sep 2008 20:49:33 +0000 (20:49 +0000)
committerRoland Häder <roland@mxchange.org>
Tue, 30 Sep 2008 20:49:33 +0000 (20:49 +0000)
inc/databases.php
inc/modules/admin/what-send_newsletter.php

index 0e73034155fc9627bf10a34c3f56923bf22df1a0..8e4aeb6a37eba3612593a6dc477ac84f46c70e90 100644 (file)
@@ -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);
index 35b7e5eba6f3ce7bb76fd40694bff68f8380d9ad..3b2a13d966335ebdf3783e7bb8e0b99170a20519 100644 (file)
@@ -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']);