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:
@@ -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");
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user