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 4827c8a21..2c99c6b94 100644
--- a/modules/user.module
+++ b/modules/user.module
@@ -125,7 +125,7 @@ function user_save($account, $array = array()) {
$values[] = "'". md5($value) ."'";
}
else if (substr($key, 0, 4) !== "auth") {
- if (in_array($key, user_fields)) {
+ if (in_array($key, $user_fields)) {
$fields[] = check_query($key);
$values[] = "'". check_query($value) ."'";
}
diff --git a/modules/user/user.module b/modules/user/user.module
index 4827c8a21..2c99c6b94 100644
--- a/modules/user/user.module
+++ b/modules/user/user.module
@@ -125,7 +125,7 @@ function user_save($account, $array = array()) {
$values[] = "'". md5($value) ."'";
}
else if (substr($key, 0, 4) !== "auth") {
- if (in_array($key, user_fields)) {
+ if (in_array($key, $user_fields)) {
$fields[] = check_query($key);
$values[] = "'". check_query($value) ."'";
}