summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authoruckelman <uckelman@nomic.net>2010-04-14 19:09:47 +0000
committeruckelman <uckelman@nomic.net>2010-04-14 19:09:47 +0000
commitab9ab7b3cb50926bd77f52444a0c95b19335f40e (patch)
tree6cb63d3398b5435dcee18496dd7b1ddf4930a946 /src
parent593429688c8787e5a01ba9d34010139966b2d805 (diff)
Fixed mispelled variable name. Argh!
git-svn-id: https://vassalengine.svn.sourceforge.net/svnroot/vassalengine/site-src/trunk@6715 67b53d14-2c14-4ace-a08f-0dab2b34000c
Diffstat (limited to 'src')
-rw-r--r--src/F2M.php16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/F2M.php b/src/F2M.php
index 7417ad2..519cff3 100644
--- a/src/F2M.php
+++ b/src/F2M.php
@@ -9,6 +9,13 @@ catch (Exception $e) {
function send_to_lists($user, $mode, $data, $post_data) {
+/*
+ print '<p>';
+ var_dump($data);
+ var_dump($post_data);
+ print '</p>';
+*/
+
require_once('Mail.php');
require_once(__DIR__ . '/Bridge.php');
@@ -48,7 +55,7 @@ function send_to_lists($user, $mode, $data, $post_data) {
$references = null;
if ($mode == 'reply') {
- $firstId = $post['topic_first_post_id'];
+ $firstId = $data['topic_first_post_id'];
$firstMessageId = $bridge->getMessageId($firstId);
if ($firstMessageId === null) {
throw new Exception('unrecognized post id: ' . $firstId);
@@ -63,13 +70,6 @@ function send_to_lists($user, $mode, $data, $post_data) {
$body = $data['message'];
-/*
- print '<p>';
- var_dump($data);
- var_dump($post_data);
- print '</p>';
-*/
-
# Assemble the message headers
$headers = array(
'To' => $to,