summaryrefslogtreecommitdiffstats
path: root/editusers.cgi
diff options
context:
space:
mode:
authormkanat%kerio.com <>2005-02-25 08:42:47 +0100
committermkanat%kerio.com <>2005-02-25 08:42:47 +0100
commitfa9b63f55b3118a30ff641d0e386266eb877e258 (patch)
treea388e3577fef067abe83e94bbdb52428e442b35b /editusers.cgi
parent63dde60072374b2f7ef2f756d4ab9dff66669793 (diff)
downloadbugzilla-fa9b63f55b3118a30ff641d0e386266eb877e258.tar.gz
bugzilla-fa9b63f55b3118a30ff641d0e386266eb877e258.tar.xz
Bug 283237: Move DBname_to_id out of globals.pl
Patch By Max Kanat-Alexander <mkanat@kerio.com> r=wurblzap, a=myk
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) {