From 4560c2324d978970871bfbe6a9480b17a915342f Mon Sep 17 00:00:00 2001 From: "cyeh%bluemartini.com" <> Date: Fri, 23 Feb 2001 02:11:22 +0000 Subject: fix for 66876: Using userids (mediumint) for initialowner and initialqacontact based on patch submitted by baulig@suse.de (Martin Baulig). --- editusers.cgi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'editusers.cgi') 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) { -- cgit v1.2.1