From 01d4d8f2a76c3bc8d9824d469b0e12c55eb0e6bb Mon Sep 17 00:00:00 2001 From: Leendert Bottelberghs Date: Thu, 26 Aug 2004 10:06:27 +0000 Subject: [PATCH] fixed mistypings --- lib/WebGUI/Forum/UI.pm | 2 +- lib/WebGUI/Wobject/MessageBoard.pm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/WebGUI/Forum/UI.pm b/lib/WebGUI/Forum/UI.pm index ff518cef4..61960ac8b 100644 --- a/lib/WebGUI/Forum/UI.pm +++ b/lib/WebGUI/Forum/UI.pm @@ -1185,7 +1185,7 @@ sub getForumTemplateVars { 'thread.root.time'=>formatPostTime($root->get("dateOfPost")), 'thread.root.user.profile'=>formatUserProfileURL($root->get("userId")), 'thread.root.user.name'=>$root->get("username"), - 'thread.root.user.alias'=>WebGUI::User->new($root->get("userId"))->profileField("alias"); + 'thread.root.user.alias'=>WebGUI::User->new($root->get("userId"))->profileField("alias"), 'thread.root.user.id'=>$root->get("userId"), 'thread.root.user.isVisitor'=>($root->get("userId") == 1), 'thread.root.status'=>formatStatus($root->get("status")), diff --git a/lib/WebGUI/Wobject/MessageBoard.pm b/lib/WebGUI/Wobject/MessageBoard.pm index 08c8a5135..b2d533699 100644 --- a/lib/WebGUI/Wobject/MessageBoard.pm +++ b/lib/WebGUI/Wobject/MessageBoard.pm @@ -303,7 +303,7 @@ sub www_view { 'forum.lastPost.subject' => $lastPost->get("subject"), 'forum.lastPost.user.id' => $lastPost->get("userId"), 'forum.lastPost.user.name' => $lastPost->get("username"), - 'forum.lastPost.user.alias' => WebGUI::User->new($lastPost->get("userId"))->profileField("alias"); + 'forum.lastPost.user.alias' => WebGUI::User->new($lastPost->get("userId"))->profileField("alias"), 'forum.lastPost.user.profile' => WebGUI::Forum::UI::formatUserProfileURL($lastPost->get("userId")), 'forum.lastPost.user.isVisitor' => ($lastPost->get("userId") == 1), 'forum.user.canView' => $forum->canView,