[TYPO3-core] RFC #10432: Page TS option to disable avaiable languages

Steffen Kamper info at sk-typo3.de
Fri Feb 13 15:31:15 CET 2009


Hi Xavier,

+1 by reading and testing, though i have some remarks.

I know you copied method from above the code, but imho there shoud be 
done additional checks

* check isset of config array
* check isset of $langSelItems before unset
* don't allow unset of index 0

why they use array_flip above? I don't see a need for.

Attached is the changed patch from me.

vg Steffen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 10432_v2.diff
Type: text/x-diff
Size: 1401 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20090213/b73c280e/attachment-0001.diff 


More information about the TYPO3-team-core mailing list