body => encoded_body(
\($param -> {body}),
{ quoteChars => $param -> {quoteChars},
- messages => $param -> {messages}
+ messages => $param -> {messages},
+ base_uri => $param -> {base_uri}
}
),
time => $param -> {time},
save_file ($param -> {forumFile}, $forum) or return $error{forumWrite};
release_file ($param -> {messagePath}.$tid.'.xml');
- return (0, $thread, $mid);
+ return (0, $thread, $mid, $tid);
}
### sub write_reply_posting ($) ################################################
${encoded_body(
\($param -> {body}),
{ quoteChars => $param -> {quoteChars},
- messages => $param -> {messages}
+ messages => $param -> {messages},
+ base_uri => $param -> {base_uri}
}
)}
)
$param -> {parsedThreads},
{ dtd => $param -> {dtd},
lastMessage => $mid,
- lastThread => $tid
+ lastThread => 't'.$param -> {lastThread}
}
);
save_file ($param -> {forumFile}, $forum) or return $error{forumWrite};
}
- return (0, $thread, $mid);
+ return (0, $thread, $mid, $tid);
}
-# keeping 'require' happy
+# keep 'require' happy
#
1;