summaryrefslogtreecommitdiffstats
path: root/editusers.cgi
diff options
context:
space:
mode:
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) {