summaryrefslogtreecommitdiffstats
path: root/editusers.cgi
diff options
context:
space:
mode:
authorcyeh%bluemartini.com <>2001-02-23 03:11:22 +0100
committercyeh%bluemartini.com <>2001-02-23 03:11:22 +0100
commit4560c2324d978970871bfbe6a9480b17a915342f (patch)
treeea9c3fbfa85e250208178ab599b4bef51418f37f /editusers.cgi
parent76dd91d8df6ede4ae5f05036148d996848711c02 (diff)
downloadbugzilla-4560c2324d978970871bfbe6a9480b17a915342f.tar.gz
bugzilla-4560c2324d978970871bfbe6a9480b17a915342f.tar.xz
fix for 66876: Using userids (mediumint) for initialowner and initialqacontact
based on patch submitted by baulig@suse.de (Martin Baulig).
Diffstat (limited to 'editusers.cgi')
-rwxr-xr-xeditusers.cgi4
1 files changed, 2 insertions, 2 deletions
diff --git a/editusers.cgi b/editusers.cgi
index 72e42f03d..319b2ea79 100755
--- a/editusers.cgi
+++ b/editusers.cgi
@@ -566,7 +566,7 @@ if ($action eq 'del') {
SendSQL("SELECT program, value
FROM components
- WHERE initialowner=" . SqlQuote($user));
+ WHERE initialowner=" . DBname_to_id($user));
$found = 0;
while (MoreSQLData()) {
if ($found) {
@@ -590,7 +590,7 @@ if ($action eq 'del') {
SendSQL("SELECT program, value
FROM components
- WHERE initialqacontact=" . SqlQuote($user));
+ WHERE initialqacontact=" . DBname_to_id($user));
$found = 0;
while (MoreSQLData()) {
if ($found) {