[TYPO3-core] RFC: #10040: define Default GET-vars
Steffen Kamper
info at sk-typo3.de
Tue Sep 1 20:13:00 CEST 2009
Hi Rupi,
Rupert Germann schrieb:
> hi,
>
> I think
>
> if (!empty($this->config['config']['defaultGetVars.'])) {
>
> is better than
>
> if (is_array($this->config['config']['defaultGetVars.'])) {
>
> in this case, because if you have something like this in your TS
>
> config.defaultGetVars {
> # tx_ttnews.year = 2004
> }
>
> defaultGetVars will be an empty array and
> array_merge_recursive_overrule() will be executed without need.
>
> besides this:
> +1 by reading an testing
>
>
ths!
i'll take care of the commit today with the change you suggested.
vg Steffen
More information about the TYPO3-team-core
mailing list