Commit faefca3c authored by myk%mozilla.org's avatar myk%mozilla.org

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

Patch by Jake <jake@acutex.net>. r=bbaetz,myk
parent 6f66681a
......@@ -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");
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment