Skip to content

Commit

Permalink
Fixed bug 2319 DB auth not fetching user data fields correctly -- cre…
Browse files Browse the repository at this point in the history
…dits go to andres.marquez@accenture.com and doug nutsch
  • Loading branch information
martinlanghoff committed Mar 7, 2005
1 parent af7d98d commit d682f3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion auth/db/lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ function auth_get_userinfo($username){
if ($rs = $authdb->Execute("SELECT ".$config["auth_user_$field"]." FROM $CFG->auth_dbtable
WHERE $CFG->auth_dbfielduser = '$username'")) {
if ( $rs->RecordCount() == 1 ) {
$result["$field"] = $rs->fields[$config["auth_user_$field"]];
$result["$field"] = $rs->fields[0];
}
}
}
Expand Down

0 comments on commit d682f3c

Please sign in to comment.