Fix for bug 108822: Prevent any user from changing their own groupset.

Patch by Jake <jake@acutex.net>.
r=bbaetz,myk


git-svn-id: svn://10.0.0.236/trunk@107633 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
myk%mozilla.org
2001-11-08 00:54:15 +00:00
parent 37c1fa29af
commit f128dfb46b

View File

@@ -495,8 +495,8 @@ sub SaveFooter {
Error("Hmm, the $name query seems to have gone away.");
}
}
SendSQL("UPDATE profiles SET mybugslink = '" . $::FORM{'mybugslink'} .
"' WHERE userid = $userid");
SendSQL("UPDATE profiles SET mybugslink = " . SqlQuote($::FORM{'mybugslink'}) .
" WHERE userid = $userid");
}