Bug #19867 » 10205.diff
t3lib/class.t3lib_userauth.php (working copy) | ||
---|---|---|
list($count) = $GLOBALS['TYPO3_DB']->sql_fetch_row($dbres);
|
||
$GLOBALS['TYPO3_DB']->sql_free_result($dbres);
|
||
}
|
||
// hotfix for #10205
|
||
if ($this->loginType == 'FE') {
|
||
$dbres = $GLOBALS['TYPO3_DB']->exec_SELECTquery(
|
||
'COUNT(hash)',
|
||
'fe_session_data',
|
||
'hash=' . $GLOBALS['TYPO3_DB']->fullQuoteStr($id, 'fe_session_data')
|
||
);
|
||
if ($dbres !== false) {
|
||
list($countSessionData) = $GLOBALS['TYPO3_DB']->sql_fetch_row($dbres);
|
||
$GLOBALS['TYPO3_DB']->sql_free_result($dbres);
|
||
$count = $count || $countSessionData;
|
||
}
|
||
}
|
||
return (($count ? true : false));
|
||
}
|
||