Bug #17056
closedError in "Who is online" in T3 4.1 rev. 2163
0%
Description
With the Bugfix from Bug 5073 a little typo made it into the trunk.
It causes the "Who is online" module to show only the current user if $GLOBALS['TYPO3_CONF_VARS']['BE']['sessionTimeout'] is a string (for every installation where the value was modified in the install-tool).
See attached patch.
(issue imported from #M5092)
Files
Updated by Matthias Kall over 17 years ago
My first diff was the wrong way (diff -ru NEW OLD)
Now it works.
Sorry.
Updated by Steffen Müller over 17 years ago
string is not allowed in $GLOBALS['TYPO3_CONF_VARS']['BE']['sessionTimeout']
Integer only.
Updated by Matthias Kall over 17 years ago
The install tool saves the value as
$GLOBALS['TYPO3_CONF_VARS']['BE']['sessionTimeout'] = '3600';
and not as
$GLOBALS['TYPO3_CONF_VARS']['BE']['sessionTimeout'] = 3600;
That's why php thinks it's a string.
Updated by Steffen Müller over 17 years ago
+1
I can reproduce this and the appended patch fixes the error.
Updated by Oliver Hader over 17 years ago
Thanks guys for making this out. The dot "." is a bug and the is_string should check against an integer. The new patch also fixes this behaviour.
Updated by Oliver Hader over 17 years ago
Committed to Trunk.
ChangeLog entry:- Fixed bug: #17056: Typo in Who is online (thanks to Matthias Kall)