[Typo3-dev] TV incompatible with PHP < 4.3.0
Dmitry Dulepov
typo3 at fm-world.ru
Thu Mar 31 15:55:01 CEST 2005
Hi!
This is strange because it works perfectly with PHP 4.1.2 on my server.
Dmitry.
Kraft Bernhard wrote:
> Hallo list,
>
>
> There is a little mistake which makes TV incompatible with PHP below 4.3.0.
>
> As the PHP Doc states for implode:
> Note: As of PHP 4.3.0, the glue parameter of implode() is optional and
> defaults to
> the empty string(''). This is not the preferred usage of implode(). We
> recommend to
> always use two parameters for compatibility with older versions.
>
>
> In line 295 and 315 of class.tx_templavoila_mod1_sidebar.php there's a
> code part:
> implode ($optionsArr)
> which should get modified to:
> implode ('', $optionsArr)
>
>
> Hope this gets fixed ...
>
>
> greets,
> Bernhard
More information about the TYPO3-dev
mailing list