summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2010-02-06 11:48:50 +0100
committerYorhel <git@yorhel.nl>2010-02-06 11:48:50 +0100
commitbfbeaacb2980b79da0ae6236d6d43d8ad58e94c4 (patch)
tree77dd47f16ff2677c54f1ddd4488223a3ff87ef16
parentfa739c070cd091b4811cf1e4bbd4abccf405c3dd (diff)
Handler::VNPage: Don't show delete option when not on wishlist
...rather useless option to have.
-rw-r--r--lib/VNDB/Handler/VNPage.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VNDB/Handler/VNPage.pm b/lib/VNDB/Handler/VNPage.pm
index 21655e37..f47aa8c4 100644
--- a/lib/VNDB/Handler/VNPage.pm
+++ b/lib/VNDB/Handler/VNPage.pm
@@ -361,7 +361,7 @@ sub _useroptions {
optgroup label => $wish ? mt '_vnpage_uopt_changewish' : mt '_vnpage_uopt_addwish';
option value => $_, mt "_wish_$_" for (@{$self->{wishlist_status}});
end;
- option value => -1, mt '_vnpage_uopt_delwish';
+ option value => -1, mt '_vnpage_uopt_delwish' if $wish;
end;
}
end;