diff options
author | lpsolit%gmail.com <> | 2009-11-23 23:46:47 +0100 |
---|---|---|
committer | lpsolit%gmail.com <> | 2009-11-23 23:46:47 +0100 |
commit | 2296f779df4debf3d7aa3fc1f2b648e2c929e061 (patch) | |
tree | a51eee2ae9d333d45da82909ebfea820d6128874 /editproducts.cgi | |
parent | 717b3b5c982957c28275b0c177ed56536b93303c (diff) | |
download | bugzilla-2296f779df4debf3d7aa3fc1f2b648e2c929e061.tar.gz bugzilla-2296f779df4debf3d7aa3fc1f2b648e2c929e061.tar.xz |
Bug 451716: Deleting a product does not remove its entries from the 'Series' table - Patch by Frédéric Buclin <LpSolit@gmail.com> r=gerv a=LpSolit
Diffstat (limited to 'editproducts.cgi')
-rwxr-xr-x | editproducts.cgi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editproducts.cgi b/editproducts.cgi index e1356abbc..1d4335466 100755 --- a/editproducts.cgi +++ b/editproducts.cgi @@ -233,7 +233,7 @@ if ($action eq 'delete') { my $product = $user->check_can_admin_product($product_name); check_token_data($token, 'delete_product'); - $product->remove_from_db; + $product->remove_from_db({ delete_series => scalar $cgi->param('delete_series')}); delete_token($token); $vars->{'message'} = 'product_deleted'; |