fixed [ 926610 ] WebGUI::Wobject::Article

This commit is contained in:
JT Smith 2004-04-19 19:38:15 +00:00
parent a311d096a5
commit d05f088f5f
3 changed files with 3 additions and 2 deletions

View file

@ -1,5 +1,6 @@
5.5.7
- bugfix [ 935552 ] USS bug (w/ and w/o img mixed posts).
- bugfix [ 926610 ] WebGUI::Wobject::Article
5.5.6

View file

@ -182,7 +182,7 @@ sub www_view {
$var{"post.URL"} = WebGUI::Forum::UI::formatNewThreadURL($callback,$forum->get("forumId"));
$var{"post.label"} = WebGUI::International::get(24,$_[0]->get("namespace"));
}
my $templateId = $_[0]->get("templateId");
my $templateId = $_[0]->getValue("templateId");
if ($session{form}{func} eq "editSave") {
$templateId = $_[0]->get("templateId");
}

View file

@ -514,7 +514,7 @@ sub www_view {
# }
# $row[$i-1] = "page";
}
$p = WebGUI::Paginator->new(WebGUI::URL::page("func=view&wid=".$_[0]->get("wobjectId")),$_[0]->get("paginateAfter"),"calPn);
$p = WebGUI::Paginator->new(WebGUI::URL::page("func=view&wid=".$_[0]->get("wobjectId")),$_[0]->get("paginateAfter"),"calPn");
$p->setDataByArrayRef(\@monthloop);
$var{month_loop} = $p->getPageData;
$p->appendTemplateVars(\%var);