[TYPO3-core] RFC: Fix Bug #6531 - Function getUpdateJS doesn't work properly

Thomas Hempel thomas at typo3-unleashed.net
Thu Oct 18 11:51:40 CEST 2007


This is an SVN patch request.

Type: Bugfix

Problem:
The method "getUpdateJS" in tslib_content does not reset the array pointer before starting the loop.
This causes an empty result, even if data was retrieved.

Solution:
Add a simple "reset()" before starting the loop to make sure the pointer is placed at the beginning 
of the array.

Bugtracker references:
http://bugs.typo3.org/view.php?id=6531

Notes:
Patch by Philip Almeida

Branches:
4.1 & Trunk only



Greets,
Thomas

-- 
typo3-unleashed.net


More information about the TYPO3-team-core mailing list