diff options
author | travis%sedsystems.ca <> | 2005-01-08 05:56:01 +0100 |
---|---|---|
committer | travis%sedsystems.ca <> | 2005-01-08 05:56:01 +0100 |
commit | e2466aae1fda4c2ce67c517074fdc4369d68b848 (patch) | |
tree | eb5daecabb33f093d2e31b61fd884992e8c15938 /editusers.cgi | |
parent | d6e7117d0ff4a6674a186f443219f56c0bb5bab8 (diff) | |
download | bugzilla-e2466aae1fda4c2ce67c517074fdc4369d68b848.tar.gz bugzilla-e2466aae1fda4c2ce67c517074fdc4369d68b848.tar.xz |
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
Diffstat (limited to 'editusers.cgi')
-rwxr-xr-x | editusers.cgi | 3 |
1 files changed, 2 insertions, 1 deletions
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 |