Commit dfa44f2f authored by Dries's avatar Dries
Browse files

- fixed language bug in user.module
parent ff3cf132
......@@ -647,7 +647,7 @@ function user_register($edit = array()) {
}
function user_edit($edit = array()) {
global $REQUEST_URI, $HTTP_HOST, $themes, $user;
global $REQUEST_URI, $HTTP_HOST, $themes, $user, $languages;
if ($user->uid) {
if ($edit["name"]) {
......
......@@ -647,7 +647,7 @@ function user_register($edit = array()) {
}
function user_edit($edit = array()) {
global $REQUEST_URI, $HTTP_HOST, $themes, $user;
global $REQUEST_URI, $HTTP_HOST, $themes, $user, $languages;
if ($user->uid) {
if ($edit["name"]) {
......
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