summaryrefslogtreecommitdiffstats
path: root/editproducts.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'editproducts.cgi')
-rwxr-xr-xeditproducts.cgi6
1 files changed, 3 insertions, 3 deletions
diff --git a/editproducts.cgi b/editproducts.cgi
index e0868ad08..a989e4bc1 100755
--- a/editproducts.cgi
+++ b/editproducts.cgi
@@ -57,7 +57,7 @@ my $token = $cgi->param('token');
# classifications enabled)
#
-if (Bugzilla->params->{'useclassification'}
+if (Bugzilla->params->{'useclassification'}
&& !$classification_name
&& !$product_name)
{
@@ -197,9 +197,9 @@ if ($action eq 'del') {
}
$vars->{'product'} = $product;
$vars->{'token'} = issue_session_token('delete_product');
-
+
Bugzilla::Hook::process('product_confirm_delete', { vars => $vars });
-
+
$template->process("admin/products/confirm-delete.html.tmpl", $vars)
|| ThrowTemplateError($template->error());
exit;