summaryrefslogtreecommitdiff
path: root/modules/user/user.module
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2010-11-21 08:02:30 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2010-11-21 08:02:30 +0000
commitcd3645af1a807e7cf25d53e3c76c243be7eb0136 (patch)
tree58034dd3ae65f7ddade95a6000c82a555eb14f0c /modules/user/user.module
parent496f568da9f72c63af99b4962a11e7cffff863f6 (diff)
downloadbrdo-cd3645af1a807e7cf25d53e3c76c243be7eb0136.tar.gz
brdo-cd3645af1a807e7cf25d53e3c76c243be7eb0136.tar.bz2
#955414 by bfroehle: Fixedd user_get_authmaps: respect proper key-value ordering as in description
Diffstat (limited to 'modules/user/user.module')
-rw-r--r--modules/user/user.module2
1 files changed, 1 insertions, 1 deletions
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;
}