summaryrefslogtreecommitdiffstats
path: root/editusers.cgi
diff options
context:
space:
mode:
authorbbaetz%acm.org <>2003-04-25 08:11:59 +0200
committerbbaetz%acm.org <>2003-04-25 08:11:59 +0200
commitf8f87b3a7f45cd47256c655fcebd8ec92cfee459 (patch)
tree19e95f914fce3f3dce973081edc3bc41365a2e5e /editusers.cgi
parent76f0aeecc5493999e09b8973b4017f344223d5e3 (diff)
downloadbugzilla-f8f87b3a7f45cd47256c655fcebd8ec92cfee459.tar.gz
bugzilla-f8f87b3a7f45cd47256c655fcebd8ec92cfee459.tar.xz
Bug 201018 - editusers.cgi never calls DeriveGroup prior to changing a bug
patch mostly by justdave, bits by me r=bbaetz,justdave,myk a=justdave
Diffstat (limited to 'editusers.cgi')
-rwxr-xr-xeditusers.cgi3
1 files changed, 3 insertions, 0 deletions
diff --git a/editusers.cgi b/editusers.cgi
index 4e423c2d5..143e87442 100755
--- a/editusers.cgi
+++ b/editusers.cgi
@@ -785,6 +785,8 @@ if ($action eq 'update') {
"VALUES " . "($thisuserid, $::userid, now(), $fieldid, " .
SqlQuote(join(", ",@grpdel)) . ", " .
SqlQuote(join(", ",@grpadd)) . ")");
+ SendSQL("UPDATE profiles SET refreshed_when='1900-01-01 00:00:00' " .
+ "WHERE userid = $thisuserid");
}
@@ -842,6 +844,7 @@ if ($action eq 'update') {
print "Updated user's name.<BR>\n";
}
+ DeriveGroup($thisuserid);
PutTrailer($localtrailer);
exit;