summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/user.module2
-rw-r--r--modules/user/user.module2
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/user.module b/modules/user.module
index 3854c5966..18ff15b82 100644
--- a/modules/user.module
+++ b/modules/user.module
@@ -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"]) {
diff --git a/modules/user/user.module b/modules/user/user.module
index 3854c5966..18ff15b82 100644
--- a/modules/user/user.module
+++ b/modules/user/user.module
@@ -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"]) {