summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2019-11-27 09:19:48 +0100
committerYorhel <git@yorhel.nl>2019-11-27 09:20:39 +0100
commit09c967c73c473d0bfbeacdb712d3b5158c0757c6 (patch)
tree49f8b5a1cd39b79423773b6dcc5a4d39d9d58b65
parent429ec76f3127f11f13f4fc4330fd86d8bfd531cf (diff)
Multi: Fix parsing of ExtLinks.pm when TUWF::XML isn't loaded
-rw-r--r--lib/VNDB/ExtLinks.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VNDB/ExtLinks.pm b/lib/VNDB/ExtLinks.pm
index c0f716a9..332351c1 100644
--- a/lib/VNDB/ExtLinks.pm
+++ b/lib/VNDB/ExtLinks.pm
@@ -230,7 +230,7 @@ sub revision_extlinks {
my($type) = @_;
map {
my($f, $p) = ($_, $LINKS{$type}{$_});
- [ $f, $p->{label}, fmt => sub { TUWF::XML::a_ href => sprintf($p->{fmt}, $_), $_; }, empty => 0 ]
+ [ $f, $p->{label}, fmt => sub { TUWF::XML::a_(href => sprintf($p->{fmt}, $_), $_); }, empty => 0 ]
} sort keys $LINKS{$type}->%*
}