summaryrefslogtreecommitdiffstats
path: root/editusers.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'editusers.cgi')
-rwxr-xr-xeditusers.cgi3
1 files changed, 1 insertions, 2 deletions
diff --git a/editusers.cgi b/editusers.cgi
index 9c8de6164..9a6de0d17 100755
--- a/editusers.cgi
+++ b/editusers.cgi
@@ -461,8 +461,7 @@ if ($action eq 'new') {
#+++ send e-mail away
print "OK, done.<br>\n";
- SendSQL("SELECT last_insert_id()");
- my ($newuserid) = FetchSQLData();
+ my $newuserid = $dbh->bz_last_key('profiles', 'userid');
my $changeduser = new Bugzilla::User($newuserid);
$changeduser->derive_groups();