From b1f4cf8bdc4b49c02ebebbee2553202bc46ab720 Mon Sep 17 00:00:00 2001 From: "mkanat%bugzilla.org" <> Date: Tue, 4 Jul 2006 04:26:20 +0000 Subject: Bug 342869: Use Bugzilla->params everywhere except templates Patch By Max Kanat-Alexander r=LpSolit, a=justdave --- createaccount.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'createaccount.cgi') diff --git a/createaccount.cgi b/createaccount.cgi index 980b5986a..a0f1ed2c3 100755 --- a/createaccount.cgi +++ b/createaccount.cgi @@ -53,7 +53,7 @@ unless (Bugzilla->user->authorizer->user_can_create_account) { ThrowUserError("auth_cant_create_account"); } -my $createexp = Param('createemailregexp'); +my $createexp = Bugzilla->params->{'createemailregexp'}; unless ($createexp) { ThrowUserError("account_creation_disabled"); } -- cgit v1.2.3-24-g4f1b