reply.url uss submission variable was never updated
This commit is contained in:
parent
df6f998643
commit
780663a6b7
2 changed files with 3 additions and 1 deletions
|
|
@ -3,6 +3,8 @@
|
|||
one forum in a message board.
|
||||
- Fixed a bug introduced in the last version when replying to USS
|
||||
submissions.
|
||||
- Fixed a bug introduced in 5.5.0 because the reply.url variable in the USS
|
||||
submission template didn't get updated to reflect the new forum system.
|
||||
|
||||
|
||||
5.5.1
|
||||
|
|
|
|||
|
|
@ -598,7 +598,7 @@ sub www_viewSubmission {
|
|||
$var{"deny.url"} = WebGUI::URL::page('func=denySubmission&wid='.$session{form}{wid}.'&sid='.$session{form}{sid}.'&mlog='.$session{form}{mlog});
|
||||
$var{"deny.label"} = WebGUI::International::get(574);
|
||||
$var{"canReply"} = ($_[0]->get("allowDiscussion"));
|
||||
$var{"reply.url"} = WebGUI::URL::page('func=post&mid=new&wid='.$_[0]->get("wobjectId").'&sid='.$session{form}{sid});
|
||||
$var{"reply.url"} = WebGUI::Forum::UI::formatNewThreadURL($callback,$submission->{forumId});
|
||||
$var{"reply.label"} = WebGUI::International::get(47,$_[0]->get("namespace"));
|
||||
$var{"search.url"} = WebGUI::Search::toggleURL();
|
||||
$var{"search.label"} = WebGUI::International::get(364);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue