[BUGFIX] Make fetchUserRecord callable without username 76/19776/2
authorRobert Heel <typo3.org@bobosch.de>
Wed, 10 Apr 2013 10:32:30 +0000 (12:32 +0200)
committerJigal van Hemert <jigal@xs4all.nl>
Wed, 10 Apr 2013 10:39:18 +0000 (12:39 +0200)
commita1ba2c074176f25fdf7cb4938f013f0f3d952e54
treeeb696aa57cc322a9a614c055f06ef22b96d09dbe
parentaeccd948e1dbd918cf0a7930d3f253a0aa5f446d
[BUGFIX] Make fetchUserRecord callable without username

t3lib_userAuth::fetchUserRecord is not callable without a username.
Fix the $usernameClause to generate a correct SQL query.

Change-Id: I56b5f8bf8b326e880f157c3b4a5a15409305c3d9
Fixes: #39248
Releases: 6.1, 6.0, 4.7, 4.5
Reviewed-on: https://review.typo3.org/19776
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
t3lib/class.t3lib_userauth.php