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 {