Commit d164384e authored by Kjartan's avatar Kjartan

- fixing a typo (was missing a $).

parent 8f868e2f
......@@ -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) ."'";
}
......
......@@ -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) ."'";
}
......
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