[TYPO3-core] RFC #16792: Invalid foreach php warning in EM
Steffen Gebert
steffen at steffen-gebert.de
Sun Dec 26 23:02:00 CET 2010
Hi!
This is a SVN patch request.
Type: Bugfix
Bugtracker reference:
http://bugs.typo3.org/view.php?id=16792
Branches:
trunk
Problem:
When importing the extension list, the following waring is raised:
> PHP Warning: Invalid argument supplied for foreach() in /home/webmaster/frm2/typo3_src_svn/typo3/sysext/em/classes/tools/class.tx_em_tools_xmlhandler.php line 326
The variable SC_mod_tools_em_index::defaultCategories has been removed
in 4.5
Solution:
Use another array holding the same values:
SC_mod_tools_em_index::categories
Kind regards
Steffen
--
Steffen Gebert
TYPO3 Core Team Member
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 16792.diff
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20101226/c443bbe2/attachment-0001.txt>
More information about the TYPO3-team-core
mailing list