Bug #39248 ยป fetchUserRecord_wo_username.diff
typo3_src-4.7.2/t3lib/class.t3lib_userauth.php 2012-07-25 13:13:59.942087858 +0200 | ||
---|---|---|
function fetchUserRecord($dbUser, $username, $extraWhere = '') {
|
||
$user = FALSE;
|
||
$usernameClause = $username ? ($dbUser['username_column'] . '=' . $GLOBALS['TYPO3_DB']->fullQuoteStr($username, $dbUser['table'])) : '';
|
||
$usernameClause = $username ? ($dbUser['username_column'] . '=' . $GLOBALS['TYPO3_DB']->fullQuoteStr($username, $dbUser['table'])) : '1=1';
|
||
if ($username || $extraWhere) {
|
||