Fixed bug: #5092: Typo in Who is online
authorOliver Hader <oliver.hader@typo3.org>
Thu, 1 Mar 2007 17:28:30 +0000 (17:28 +0000)
committerOliver Hader <oliver.hader@typo3.org>
Thu, 1 Mar 2007 17:28:30 +0000 (17:28 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@2167 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/sysext/beuser/mod/index.php

index 4e8b617..44ec1a2 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,7 @@
 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>
 
index 42b851c..eed1737 100755 (executable)
@@ -1492,8 +1492,8 @@ class SC_mod_tools_be_user_index {
                $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)       {