diff options
author | Sunil Joshi <joshi_sunil@in.com> | 2013-09-26 04:04:59 +0200 |
---|---|---|
committer | Simon Green <sgreen@redhat.com> | 2013-09-26 04:04:59 +0200 |
commit | 646aa223346440a159effc37b0e6070832b1989a (patch) | |
tree | c13d4e15231869126bc3cabb179b006457883017 /editversions.cgi | |
parent | 2fe007151dd2d7caec031cd1fca617eac47f2549 (diff) | |
download | bugzilla-646aa223346440a159effc37b0e6070832b1989a.tar.gz bugzilla-646aa223346440a159effc37b0e6070832b1989a.tar.xz |
Bug 714523 - editversions.cgi should use ->set_all
r=simon, a=simon
Diffstat (limited to 'editversions.cgi')
-rwxr-xr-x | editversions.cgi | 6 |
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(); |