Actions
Bug #41608
closedPage Information shows incorrect number of Total hits
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Backend User Interface
Target version:
-
Start date:
2012-10-05
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
4.7
PHP Version:
5.3
Tags:
Complexity:
easy
Is Regression:
Sprint Focus:
Description
Going into the Page Information section of the Page module on all pages gives the incorrect number of page hits. Due to a bug in the code it is actually displaying a timestamp instead!
Note that page hit information will only appear if the sys_stat extension is installed.
This can easily be fixed by changing line 2471 (in version 4.7.4) of typo3\sysext\cms\layout\class.tx_cms_layout.php from this:
$lines[] = array($GLOBALS['LANG']->getLL('pI_hitsTotal') . ':', $rrow20);
to this:
$lines[] = array($GLOBALS['LANG']->getLL('pI_hitsTotal') . ':', $count);
Looks like someone just made a small mistake when reworking the code at some point. Anyway, easy fix!
Actions