summaryrefslogtreecommitdiffstats
path: root/editversions.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'editversions.cgi')
-rwxr-xr-xeditversions.cgi6
1 files changed, 4 insertions, 2 deletions
diff --git a/editversions.cgi b/editversions.cgi
index 1d056c67b..06f2f580c 100755
--- a/editversions.cgi
+++ b/editversions.cgi
@@ -188,8 +188,10 @@ if ($action eq 'update') {
$dbh->bz_start_transaction();
- $version->set_name($version_name);
- $version->set_is_active($isactive);
+ $version->set_all({
+ value => $version_name,
+ isactive => $isactive
+ });
my $changes = $version->update();
$dbh->bz_commit_transaction();