diff options
author | Yorhel <git@yorhel.nl> | 2008-11-22 10:17:27 +0100 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2008-11-22 10:17:27 +0100 |
commit | d73bf4eb79b45245ea11137d3438e46a341a9343 (patch) | |
tree | 73e21cdcd74e3126350a0cb97295886003872d53 /lib | |
parent | 91c9b4428260c9a4b22de78d41d946a95503c50f (diff) |
htmlEditMessage() title fix
Diffstat (limited to 'lib')
-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 48509d65..c4c625ad 100644 --- a/lib/VNDB/Util/CommonHTML.pm +++ b/lib/VNDB/Util/CommonHTML.pm @@ -334,7 +334,7 @@ sub htmlEditMessage { my $guidelines = {v => 2, r => 3, p => 4}->{$type}; div class => 'mainbox'; - h1 $obj ? "Edit $obj->{name}" : "Add new $full"; + h1 $obj ? 'Edit '.($obj->{name}||$obj->{title}) : "Add new $full"; div class => 'notice'; h2 'Before editing:'; ul; |