2007-03-01 Oliver Hader <oh@inpublica.de>
* Fixed bug: #5069: TSconfig mod.web_list.allowedNewTables used in t3lib_TCEforms_inline
+ * Fixed bug: #5092: Typo in Who is online
2007-03-01 Karsten Dambekalns <karsten@typo3.org>
$where_clause = 'ses_userid=u.uid';
$orderBy = 'u.username';
- if (is_string($GLOBALS['TYPO3_CONF_VARS']['BE']['sessionTimeout'])) {
- $where_clause .= ' AND '.$GLOBALS['EXEC_TIME'].'<(ses_tstamp+.'.$GLOBALS['TYPO3_CONF_VARS']['BE']['sessionTimeout'].')';
+ if (t3lib_div::testInt($GLOBALS['TYPO3_CONF_VARS']['BE']['sessionTimeout'])) {
+ $where_clause .= ' AND '.$GLOBALS['EXEC_TIME'].'<(ses_tstamp+'.$GLOBALS['TYPO3_CONF_VARS']['BE']['sessionTimeout'].')';
} else {
$timeout = intval($GLOBALS['TYPO3_CONF_VARS']['BE']['sessionTimeout']);
if ($timeout > 0) {