summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Version.pm
diff options
context:
space:
mode:
authorbugreport%peshkin.net <>2005-08-09 20:23:38 +0200
committerbugreport%peshkin.net <>2005-08-09 20:23:38 +0200
commit6a41ecbaec4ec4e4ed9e3b2005a7f447383b85a0 (patch)
treee8d106b301f6ffe06cbec9e521e040e721e2da83 /Bugzilla/Version.pm
parent42a0e99d5c916b4123719d7a362e12e65e15fc2f (diff)
downloadbugzilla-6a41ecbaec4ec4e4ed9e3b2005a7f447383b85a0.tar.gz
bugzilla-6a41ecbaec4ec4e4ed9e3b2005a7f447383b85a0.tar.xz
Backout of bug 303669 which broke AppendComment and possibly a number
of other items.
Diffstat (limited to 'Bugzilla/Version.pm')
-rw-r--r--Bugzilla/Version.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/Bugzilla/Version.pm b/Bugzilla/Version.pm
index 473a186c2..3a460e028 100644
--- a/Bugzilla/Version.pm
+++ b/Bugzilla/Version.pm
@@ -97,7 +97,7 @@ sub product_id { return $_[0]->{'product_id'}; }
##### Subroutines ###
###############################
-sub get_versions_by_product {
+sub get_versions_by_product ($) {
my ($product_id) = @_;
my $dbh = Bugzilla->dbh;
@@ -123,7 +123,7 @@ sub get_versions_by_product {
return @versions;
}
-sub check_version {
+sub check_version ($$) {
my ($product, $version_name) = @_;
$version_name || ThrowUserError('version_not_specified');