Commit 5963759e authored by Dries's avatar Dries

- Fixed menu problem so users can log in.  Patch by Jonathan.
parent e128d493
......@@ -402,6 +402,9 @@ function user_link($type) {
menu("user/edit", t("edit account"), "user_page", 0);
menu("user/logout", t("log out"), "user_page", 10);
}
else {
menu("user", t("my account"), "user_page", 8, 1);
}
if (user_access("administer users")) {
menu("admin/user", t("accounts"), "user_admin", 2);
......
......@@ -402,6 +402,9 @@ function user_link($type) {
menu("user/edit", t("edit account"), "user_page", 0);
menu("user/logout", t("log out"), "user_page", 10);
}
else {
menu("user", t("my account"), "user_page", 8, 1);
}
if (user_access("administer users")) {
menu("admin/user", t("accounts"), "user_admin", 2);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment