[TYPO3-core] RFC: #9786: Remove duplicate JS-Files in backend.php

Steffen Kamper info at sk-typo3.de
Wed Nov 12 22:34:16 CET 2008


Hi,

this is a SVN patch request.

Type: Bugfix

BT Reference: http://bugs.typo3.org/view.php?id=9786

Branches: Trunk

Problem:
in backend.php all JS-files are collected in an array. As this isn't an 
associative array, it's possible to add duplicated files.

Solution is simple: use array_unique before writing the script-tags

vg Steffen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 9786.diff
Type: text/x-diff
Size: 495 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20081112/e7030ea9/attachment.diff 


More information about the TYPO3-team-core mailing list