From 51fcd9558a5aa7111d6bf29d446aa5ebc62a0c3e Mon Sep 17 00:00:00 2001 From: jengo Date: Wed, 27 Sep 2000 09:05:02 +0000 Subject: [PATCH] Fixed a bug where users where able to delete there own account --- admin/accounts.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/accounts.php b/admin/accounts.php index 63a67a3b10..d726f7480c 100755 --- a/admin/accounts.php +++ b/admin/accounts.php @@ -77,7 +77,7 @@ $t->set_var("row_edit",' ' . lang("Edit") . ' '); - if ($phpgw_info["user"]["userid"] != $phpgw->db->f("loginid")) { + if ($phpgw_info["user"]["userid"] != $phpgw->db->f("account_lid")) { $t->set_var("row_delete",' '.lang("Delete").' '); } else {