Issue Bug Closed

#49849Frontend timetracking - Do not try to pop an entry of a stack if it is empty

Marcus Krause 07/10/13, 12:47 updated 06/20/14, 08:26

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.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.