summaryrefslogtreecommitdiffstats
path: root/editproducts.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'editproducts.cgi')
-rwxr-xr-xeditproducts.cgi2
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';