fixed mistypings

This commit is contained in:
Leendert Bottelberghs 2004-08-26 10:06:27 +00:00
parent e83eff1945
commit 01d4d8f2a7
2 changed files with 2 additions and 2 deletions

View file

@ -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")),

View file

@ -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,