From 3f2b0e0b3f0322dac929bb997a331cb7c021f295 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Wed, 28 Mar 2001 07:03:47 +0000 Subject: Flushing my backlog (in case Natrak wants to make more changes): - tidied up some of the code - fixed a small problems --- includes/user.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'includes/user.inc') diff --git a/includes/user.inc b/includes/user.inc index ad73efa8b..ce5820023 100644 --- a/includes/user.inc +++ b/includes/user.inc @@ -41,7 +41,7 @@ function user_save($account, $array) { else db_query("INSERT INTO users SET $query last_access = '". time() ."', last_host = '$GLOBALS[REMOTE_ADDR]'"); // return account: - return user_load(($account->userid ? $account->userid : $array["userid"])); + return user_load(($account->userid ? $account->userid : $array[userid])); } function user_get($account, $column, $field) { -- cgit v1.2.3