diff options
author | Yorhel <git@yorhel.nl> | 2008-12-13 17:32:07 +0100 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2008-12-13 17:32:07 +0100 |
commit | 347996af1fd24373f9da19e900b491a3732f88f4 (patch) | |
tree | 9969a90550b41f31d4123f1764e4ef33263238f6 /lib/VNDB/Handler/Discussions.pm | |
parent | f13ae8ec7577a4c6e63982f12b7091f7c396f67e (diff) |
Got rid of perl warning on t+ pages when not logged in
Diffstat (limited to 'lib/VNDB/Handler/Discussions.pm')
-rw-r--r-- | lib/VNDB/Handler/Discussions.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VNDB/Handler/Discussions.pm b/lib/VNDB/Handler/Discussions.pm index b235c157..6e5273d7 100644 --- a/lib/VNDB/Handler/Discussions.pm +++ b/lib/VNDB/Handler/Discussions.pm @@ -67,7 +67,7 @@ sub thread { } end; td class => 'tc2'; - if($self->authCan('boardmod') || $_->{uid} == $self->authInfo->{id} && !$_->{hidden}) { + if($self->authCan('boardmod') || $self->authInfo->{id} && $_->{uid} == $self->authInfo->{id} && !$_->{hidden}) { i class => 'edit'; txt '< '; a href => "/t$tid.$_->{num}/edit", 'edit'; |