diff options
author | Yorhel <git@yorhel.nl> | 2009-10-19 09:32:12 +0200 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2009-10-19 09:32:12 +0200 |
commit | 538000a678b4110394f1aaf413059bcdd43c5005 (patch) | |
tree | 2849731596100ba1a7505b6047a31408b8c2535a /lib/VNDB/Handler/Tags.pm | |
parent | fab6821be0cf1e7ad0f9c853475ec1d01482234a (diff) |
Use 'no spoilers' as default spoiler level for tags
Diffstat (limited to 'lib/VNDB/Handler/Tags.pm')
-rw-r--r-- | lib/VNDB/Handler/Tags.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VNDB/Handler/Tags.pm b/lib/VNDB/Handler/Tags.pm index 6a13446b..f75efdc6 100644 --- a/lib/VNDB/Handler/Tags.pm +++ b/lib/VNDB/Handler/Tags.pm @@ -36,7 +36,7 @@ sub tagpage { ); return 404 if $f->{_err}; my $tagspoil = $self->reqCookie('tagspoil'); - $f->{m} = $tagspoil =~ /^[0-2]$/ ? $tagspoil : 1 if $f->{m} == -1; + $f->{m} = $tagspoil =~ /^[0-2]$/ ? $tagspoil : 0 if $f->{m} == -1; my($list, $np) = $t->{meta} || $t->{state} != 2 ? ([],0) : $self->dbTagVNs( tag => $tag, |