diff options
author | Yorhel <git@yorhel.nl> | 2019-11-19 11:42:18 +0100 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2019-11-19 11:42:18 +0100 |
commit | caca1389c6dcbf895df8e3cfae55db7dadc2d276 (patch) | |
tree | bed9bdca17cd130f494c6be91b4093e84b9afc97 /lib/VNWeb/Discussions | |
parent | 0995b205d39236c23aaa984ddb2e39dec38d7dce (diff) |
Discussions: Fix index link
Diffstat (limited to 'lib/VNWeb/Discussions')
-rw-r--r-- | lib/VNWeb/Discussions/Lib.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VNWeb/Discussions/Lib.pm b/lib/VNWeb/Discussions/Lib.pm index a387c55e..a887b306 100644 --- a/lib/VNWeb/Discussions/Lib.pm +++ b/lib/VNWeb/Discussions/Lib.pm @@ -113,7 +113,7 @@ sub boardsearch_ { sub boardtypes_ { my($type) = @_; p_ class => 'browseopts', sub { - a_ href => '/t/'.$_->[0], mkclass(optselected => $type && $type eq $_->[0]), $_->[1] for ( + a_ href => $_->[0] eq 'index' ? '/t' : '/t/'.$_->[0], mkclass(optselected => $type && $type eq $_->[0]), $_->[1] for ( [ index => 'Index' ], [ all => 'All boards' ], map [ $_, $BOARD_TYPE{$_}{txt} ], keys %BOARD_TYPE |