diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/MGA/Advisories.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/MGA/Advisories.pm b/lib/MGA/Advisories.pm index cd56b56..d03a632 100644 --- a/lib/MGA/Advisories.pm +++ b/lib/MGA/Advisories.pm @@ -728,7 +728,7 @@ sub dumpdb { } sub newadv { - my ($type, $bugnum) = @_; + my ($type, $bugnum, $name) = @_; my $file = $config->{advisories_dir} . '/' . $bugnum . '.adv'; if (-f $file) { print STDERR "File $file already exists\n"; @@ -742,6 +742,7 @@ sub newadv { my $vars = { type => $type, bugnum => $bugnum, + name => $name, }; process_template($template, 'newadvisory', $vars, $bugnum, 'adv'); return $file; |