summaryrefslogtreecommitdiffstats
path: root/editversions.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'editversions.cgi')
-rwxr-xr-xeditversions.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/editversions.cgi b/editversions.cgi
index 7e6b9247d..b4cf9febc 100755
--- a/editversions.cgi
+++ b/editversions.cgi
@@ -120,7 +120,7 @@ if ($action eq 'add') {
if ($action eq 'new') {
check_token_data($token, 'add_version');
my $version = Bugzilla::Version->create(
- {name => $version_name, product => $product});
+ { value => $version_name, product => $product });
delete_token($token);
$vars->{'message'} = 'version_created';