From 90e1688ef09332be00b31278f8d5ee7703ac81b2 Mon Sep 17 00:00:00 2001 From: "jocuri%softhome.net" <> Date: Tue, 28 Feb 2006 22:39:00 +0000 Subject: Patch for bug 298341: Implement code hook mechanism; patch by zach@zachlipton.com, r=timeless, a=justdave. --- enter_bug.cgi | 3 +++ 1 file changed, 3 insertions(+) (limited to 'enter_bug.cgi') diff --git a/enter_bug.cgi b/enter_bug.cgi index 5d9cd0626..c5680fff6 100755 --- a/enter_bug.cgi +++ b/enter_bug.cgi @@ -41,6 +41,7 @@ use Bugzilla; use Bugzilla::Constants; use Bugzilla::Bug; use Bugzilla::User; +use Bugzilla::Hook; use Bugzilla::Product; require "globals.pl"; @@ -589,6 +590,8 @@ foreach my $row (@$grouplist) { $vars->{'group'} = \@groups; +Bugzilla::Hook::process("enter_bug-entrydefaultvars"); + $vars->{'default'} = \%default; my $format = $template->get_format("bug/create/create", -- cgit v1.2.3-24-g4f1b