aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjocuri%softhome.net <>2006-02-28 22:39:00 +0000
committerjocuri%softhome.net <>2006-02-28 22:39:00 +0000
commit90e1688ef09332be00b31278f8d5ee7703ac81b2 (patch)
tree5bc8d02bc88eda0c195229b3bd2cb6c96c0037d5 /enter_bug.cgi
parentBug 315605: Bugzilla::Field::check_form_field() should not take a CGI object ... (diff)
downloadbugzilla-90e1688ef09332be00b31278f8d5ee7703ac81b2.tar.gz
bugzilla-90e1688ef09332be00b31278f8d5ee7703ac81b2.tar.bz2
bugzilla-90e1688ef09332be00b31278f8d5ee7703ac81b2.zip
Patch for bug 298341: Implement code hook mechanism; patch by zach@zachlipton.com, r=timeless, a=justdave.
Diffstat (limited to 'enter_bug.cgi')
-rwxr-xr-xenter_bug.cgi3
1 files changed, 3 insertions, 0 deletions
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",