summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2009-09-24 10:43:50 +0200
committerYorhel <git@yorhel.nl>2009-09-24 10:43:50 +0200
commit58b3f592082f708e697e5863ca87f0c49f867e9e (patch)
tree243f6968be823d1c4ad1140070fde518d8a9ea4c /lib
parent3e670c7623f0a90974c72bcd5411d4003ce360e7 (diff)
Handler::VNPage: Display '-' for empty VN descriptions
Diffstat (limited to 'lib')
-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 0a1debd6..361963a8 100644
--- a/lib/VNDB/Handler/VNPage.pm
+++ b/lib/VNDB/Handler/VNPage.pm
@@ -135,7 +135,7 @@ sub page {
td class => 'vndesc', colspan => 2;
h2 mt '_vnpage_description';
p;
- lit bb2html $v->{desc};
+ lit $v->{desc} ? bb2html $v->{desc} : '-';
end;
end;
end;