summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoruckelman <uckelman@nomic.net>2010-04-11 17:18:00 +0000
committeruckelman <uckelman@nomic.net>2010-04-11 17:18:00 +0000
commit1659a30e55af53b9b9e9208e8e25e9d43802c402 (patch)
tree685f40bb2a0c1642e42442e0d6e149cedc5b39ae
parent2843ff99dabd8ef664437282f5d372e70dac26bd (diff)
Fixed unassigned vars.
git-svn-id: https://vassalengine.svn.sourceforge.net/svnroot/vassalengine/site-src/trunk@6665 67b53d14-2c14-4ace-a08f-0dab2b34000c
-rw-r--r--src/M2F.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/M2F.php b/src/M2F.php
index 0c95c84..8318461 100644
--- a/src/M2F.php
+++ b/src/M2F.php
@@ -13,20 +13,20 @@ $msg = new MailmanMessage($input);
$bridge = new Bridge();
-$seen = !$bridge->registerMessage($msg->getMessageId(),
- $msg->getInReplyTo(),
- $msg->getReferences());
+$messageId = $msg->getMessageId();
+$inReplyTo = $msg->getInReplyTo();
+$rererences = $msg->getReferences();
+
+$seen = !$bridge->registerMessage($messageId, $inReplyTo, $references);
if ($seen) {
# This message has already been processed.
- print 'Message id already seen, skipping: ' . $msg->getMessageId() . "\n";
+ print 'Message id already seen, skipping: ' . $messageId . "\n";
exit;
}
$phpbb = new PhpBB3();
-$inReplyTo = $msg->getInReplyTo();
-
$forumId = $topicId = -1;
$postType = null;