diff options
author | Neil Drumm <drumm@3064.no-reply.drupal.org> | 2006-10-17 08:31:49 +0000 |
---|---|---|
committer | Neil Drumm <drumm@3064.no-reply.drupal.org> | 2006-10-17 08:31:49 +0000 |
commit | 4d70f796d67496c7a9b2cc28f5baaa223437240b (patch) | |
tree | 22ee59a72306adead5a32a5decb5944b42ecc224 /modules/user/user.module | |
parent | 6389e5306feb9ce5128916558043e5b44ad68374 (diff) | |
download | brdo-4d70f796d67496c7a9b2cc28f5baaa223437240b.tar.gz brdo-4d70f796d67496c7a9b2cc28f5baaa223437240b.tar.bz2 |
#58524 by chx. Fix another array/object mixup.
Diffstat (limited to 'modules/user/user.module')
-rw-r--r-- | modules/user/user.module | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/user/user.module b/modules/user/user.module index d83802e25..8bd18d43d 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 { |