diff --git a/web/html/account.php b/web/html/account.php index c367914f..f15a10a1 100644 --- a/web/html/account.php +++ b/web/html/account.php @@ -50,7 +50,7 @@ if (isset($_COOKIE["AURSID"])) { /* Verify user has permission to edit the account */ if (can_edit_account($atype, $row, uid_from_sid($_COOKIE["AURSID"]))) { display_account_form($atype, "UpdateAccount", $row["Username"], - $row["AccountType"], $row["Suspended"], $row["Email"], + $row["AccountTypeID"], $row["Suspended"], $row["Email"], "", "", $row["RealName"], $row["LangPreference"], $row["IRCNick"], $row["PGPKey"], $row["ID"]); } else { diff --git a/web/template/account_edit_form.php b/web/template/account_edit_form.php index 6c39d535..a41b34cf 100644 --- a/web/template/account_edit_form.php +++ b/web/template/account_edit_form.php @@ -22,12 +22,12 @@