summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKjartan Mannes <kjartan@2.no-reply.drupal.org>2002-09-10 10:53:10 +0000
committerKjartan Mannes <kjartan@2.no-reply.drupal.org>2002-09-10 10:53:10 +0000
commitd164384e62e756c128359ee39e1881290679ad90 (patch)
tree16611713671e895dc6302f40a0dddeb134ba96e9
parent8f868e2fd9cc99e2f72422fd51aec4f559b33796 (diff)
downloadbrdo-d164384e62e756c128359ee39e1881290679ad90.tar.gz
brdo-d164384e62e756c128359ee39e1881290679ad90.tar.bz2
- fixing a typo (was missing a $).
-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) ."'";
}