Actions
Bug #49849
closedFrontend timetracking - Do not try to pop an entry of a stack if it is empty
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Frontend
Target version:
-
Start date:
2013-07-10
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
6.0
PHP Version:
5.3
Tags:
Complexity:
no-brainer
Is Regression:
No
Sprint Focus:
Description
My log is flodded with
Core: Error handler (FE): PHP Warning: array_pop() expects parameter 1 to be array, null given in /path/to/t3lib/class.t3lib_timetrack.php line 177
The frontend timetracking tries to pop an entry of a stack even when the stack is empty.
Simple solution is to check the level of the stack first before doing operations on it.
Files
Actions