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 9a6de0d17..c6b342efd 100755
--- a/editusers.cgi
+++ b/editusers.cgi
@@ -536,7 +536,7 @@ if ($action eq 'del') {
SendSQL("SELECT products.name, components.name " .
"FROM products, components " .
"WHERE products.id = components.product_id " .
- " AND initialowner=" . DBname_to_id($user));
+ " AND initialowner=" . login_to_id($user));
$found = 0;
while (MoreSQLData()) {
if ($found) {
@@ -561,7 +561,7 @@ if ($action eq 'del') {
SendSQL("SELECT products.name, components.name " .
"FROM products, components " .
"WHERE products.id = components.product_id " .
- " AND initialqacontact=" . DBname_to_id($user));
+ " AND initialqacontact=" . login_to_id($user));
$found = 0;
while (MoreSQLData()) {
if ($found) {