From 4d70f796d67496c7a9b2cc28f5baaa223437240b Mon Sep 17 00:00:00 2001 From: Neil Drumm <drumm@3064.no-reply.drupal.org> Date: Tue, 17 Oct 2006 08:31:49 +0000 Subject: [PATCH] #58524 by chx. Fix another array/object mixup. --- modules/user/user.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/user/user.module b/modules/user/user.module index d83802e25dda..8bd18d43da39 100644 --- a/modules/user/user.module +++ b/modules/user/user.module @@ -24,7 +24,7 @@ function user_module_invoke($type, &$array, &$user, $category = NULL) { function user_external_load($authname) { $result = db_query("SELECT uid FROM {authmap} WHERE authname = '%s'", $authname); - if ($user = db_fetch_object($result)) { + if ($user = db_fetch_array($result)) { return user_load($user); } else { -- GitLab