diff options
author | Yorhel <git@yorhel.nl> | 2008-12-07 12:52:19 +0100 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2008-12-07 12:52:19 +0100 |
commit | eab40ecafa7d1c74a05767f5282dd0d2f3ef9d1c (patch) | |
tree | 1696e03c4763e284cca666b57246374fe3d25de8 /lib/VNDB/Util/CommonHTML.pm | |
parent | 22fcb9d63cb265a89aec31521084dad605f64228 (diff) |
Don't show the *list tabs on userpages with hidden vn/wishlist
Diffstat (limited to 'lib/VNDB/Util/CommonHTML.pm')
-rw-r--r-- | lib/VNDB/Util/CommonHTML.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VNDB/Util/CommonHTML.pm b/lib/VNDB/Util/CommonHTML.pm index e3b67459..0c7ba0a5 100644 --- a/lib/VNDB/Util/CommonHTML.pm +++ b/lib/VNDB/Util/CommonHTML.pm @@ -32,7 +32,7 @@ sub htmlMainTabs { end; } - if($type eq 'u') { + if($type eq 'u' && $obj->{show_list}) { li $sel eq 'wish' ? (class => 'tabselected') : (); a href => "/$id/wish", 'wishlist'; end; |