merging 5.5.6 changes
This commit is contained in:
parent
2eb6c36a86
commit
dcd814a9e5
1 changed files with 1 additions and 1 deletions
|
|
@ -183,7 +183,7 @@ sub www_view {
|
|||
my $callback = WebGUI::URL::page("func=view&wid=".$_[0]->get("wobjectId"));
|
||||
if ($_[0]->get("allowDiscussion")) {
|
||||
my $forum = WebGUI::Forum->new($_[0]->get("forumId"));
|
||||
$var{"replies.count"} = $forum->get("replies");
|
||||
$var{"replies.count"} = ($forum->get("replies") + $forum->get("threads"));
|
||||
$var{"replies.URL"} = WebGUI::Forum::UI::formatForumURL($callback,$forum->get("forumId"));
|
||||
$var{"replies.label"} = WebGUI::International::get(28,$_[0]->get("namespace"));
|
||||
$var{"post.URL"} = WebGUI::Forum::UI::formatNewThreadURL($callback,$forum->get("forumId"));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue