diff options
-rwxr-xr-x | userprefs.cgi | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/userprefs.cgi b/userprefs.cgi index bd5dcb4f2..bc0f1d672 100755 --- a/userprefs.cgi +++ b/userprefs.cgi @@ -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"); } |