- fixed language bug in user.module

4.0.x
Dries Buytaert 2001-09-19 17:31:23 +00:00
parent ff3cf1321d
commit dfa44f2f3d
2 changed files with 2 additions and 2 deletions

View File

@ -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"]) {

View File

@ -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"]) {