From ab9ab7b3cb50926bd77f52444a0c95b19335f40e Mon Sep 17 00:00:00 2001 From: uckelman Date: Wed, 14 Apr 2010 19:09:47 +0000 Subject: Fixed mispelled variable name. Argh! git-svn-id: https://vassalengine.svn.sourceforge.net/svnroot/vassalengine/site-src/trunk@6715 67b53d14-2c14-4ace-a08f-0dab2b34000c --- src/F2M.php | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'src/F2M.php') 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 '

'; + var_dump($data); + var_dump($post_data); + print '

'; +*/ + 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 '

'; - var_dump($data); - var_dump($post_data); - print '

'; -*/ - # Assemble the message headers $headers = array( 'To' => $to, -- cgit v1.2.3