[TYPO3-core] RFC #15318: Bug: Typo in Install Tool leads to PHP Warning

Steffen Gebert steffen at steffen-gebert.de
Sun Aug 1 10:59:27 CEST 2010


Am 01.08.10 10:29, schrieb Markus Klein:
> Type: Bugfix
>
> Bugtracker references:
> http://bugs.typo3.org/view.php?id=15318
>
> Problem:
> A typo in EXT:install/mod/class.tx_install.php line 8154 leads to a PHP Warning: implode() Invalid arguments passed
>
> Branches:
> Trunk&  4-4
>
> Solution:
> Replace referenced variable $warningItems (which does not exist in this context) with $warningItem.

No-brainer, +1 by reading

Nevertheless I'd prefer to rename $warningItem[] to $warningItems[], as 
it should be plural.
I also added initialization of $warningItems = array() in attached v2.

Steffen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 15318_v2.diff
Type: text/x-diff
Size: 892 bytes
Desc: not available
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100801/051be610/attachment.diff>


More information about the TYPO3-team-core mailing list