Bug #17056
closed
Error in "Who is online" in T3 4.1 rev. 2163
Added by Matthias Kall over 17 years ago.
Updated over 17 years ago.
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
My first diff was the wrong way (diff -ru NEW OLD)
Now it works.
Sorry.
string is not allowed in $GLOBALS['TYPO3_CONF_VARS']['BE']['sessionTimeout']
Integer only.
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.
+1
I can reproduce this and the appended patch fixes the error.
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.
Committed to Trunk.
ChangeLog entry:
- Fixed bug: #17056: Typo in Who is online (thanks to Matthias Kall)
Also available in: Atom
PDF