From cd3645af1a807e7cf25d53e3c76c243be7eb0136 Mon Sep 17 00:00:00 2001 From: Angie Byron Date: Sun, 21 Nov 2010 08:02:30 +0000 Subject: #955414 by bfroehle: Fixedd user_get_authmaps: respect proper key-value ordering as in description --- modules/user/user.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/user/user.module') diff --git a/modules/user/user.module b/modules/user/user.module index 7547f3f98..6f9354971 100644 --- a/modules/user/user.module +++ b/modules/user/user.module @@ -1929,7 +1929,7 @@ function user_page_title($account) { * An associative array with module as key and username as value. */ function user_get_authmaps($authname = NULL) { - $authmaps = db_query("SELECT authname, module FROM {authmap} WHERE authname = :authname", array(':authname' => $authname))->fetchAllKeyed(); + $authmaps = db_query("SELECT module, authname FROM {authmap} WHERE authname = :authname", array(':authname' => $authname))->fetchAllKeyed(); return count($authmaps) ? $authmaps : 0; } -- cgit v1.2.3