From e2466aae1fda4c2ce67c517074fdc4369d68b848 Mon Sep 17 00:00:00 2001 From: "travis%sedsystems.ca" <> Date: Sat, 8 Jan 2005 04:56:01 +0000 Subject: Bug 108870: Bugzilla does not set email prefs for new user until user visits userprefs.cgi Patch: travis r=mkanat a=justdave Also includes fixes for Bug 109573: New bugzilla accounts should by default have 'CC field changes' turned off, and Bug 275599: flag request email prefs not behaving correctly --- editusers.cgi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'editusers.cgi') diff --git a/editusers.cgi b/editusers.cgi index be8154d2e..7f3eef3a9 100755 --- a/editusers.cgi +++ b/editusers.cgi @@ -460,11 +460,12 @@ if ($action eq 'new') { # Add the new user SendSQL("INSERT INTO profiles ( " . "login_name, cryptpassword, realname, " . - "disabledtext" . + "emailflags, disabledtext" . " ) VALUES ( " . SqlQuote($user) . "," . SqlQuote(Crypt($password)) . "," . SqlQuote($realname) . "," . + SqlQuote(Bugzilla::Constants::DEFAULT_EMAIL_SETTINGS) . "," . SqlQuote($disabledtext) . ")" ); #+++ send e-mail away -- cgit v1.2.3-24-g4f1b