From fa9b63f55b3118a30ff641d0e386266eb877e258 Mon Sep 17 00:00:00 2001 From: "mkanat%kerio.com" <> Date: Fri, 25 Feb 2005 07:42:47 +0000 Subject: Bug 283237: Move DBname_to_id out of globals.pl Patch By Max Kanat-Alexander r=wurblzap, a=myk --- editusers.cgi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'editusers.cgi') 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) { -- cgit v1.2.3-24-g4f1b