fixed a bug in uss replies
This commit is contained in:
parent
ffa283b32d
commit
df6f998643
2 changed files with 5 additions and 1 deletions
|
|
@ -1,6 +1,8 @@
|
||||||
5.5.2
|
5.5.2
|
||||||
- Fixed a bug introduced in the last version that only occurs if there was
|
- Fixed a bug introduced in the last version that only occurs if there was
|
||||||
one forum in a message board.
|
one forum in a message board.
|
||||||
|
- Fixed a bug introduced in the last version when replying to USS
|
||||||
|
submissions.
|
||||||
|
|
||||||
|
|
||||||
5.5.1
|
5.5.1
|
||||||
|
|
|
||||||
|
|
@ -617,7 +617,9 @@ sub www_viewSubmission {
|
||||||
$var{"attachment.name"} = $file->getFilename;
|
$var{"attachment.name"} = $file->getFilename;
|
||||||
}
|
}
|
||||||
if ($_[0]->get("allowDiscussion")) {
|
if ($_[0]->get("allowDiscussion")) {
|
||||||
$var{"replies"} = WebGUI::Forum::UI::www_viewForum($callback,$submission->{forumId});
|
$var{"replies"} = WebGUI::Forum::UI::www_viewForum(
|
||||||
|
{callback=>$callback,title=>$submission->{title},forumId=>$submission->{forumId}},
|
||||||
|
$submission->{forumId});
|
||||||
}
|
}
|
||||||
return WebGUI::Template::process(WebGUI::Template::get($_[0]->get("submissionTemplateId"),"USS/Submission"), \%var);
|
return WebGUI::Template::process(WebGUI::Template::get($_[0]->get("submissionTemplateId"),"USS/Submission"), \%var);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue