Bug #24374
closedInvalid foreach php warning in EM
0%
Description
When importing the extension list, the following waring is raised with latest trunk:
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
(issue imported from #M16792)
Files
Updated by Björn Pedersen almost 14 years ago
When doing a lookup, another warnig 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 113
Updated by Steffen Gebert almost 14 years ago
The variable $defaultCategories has been removed (see https://svn.typo3.org/TYPO3v4/Core/branches/TYPO3_4-4/typo3/mod/tools/em/class.em_index.php).
Using $this->emObj->categories should solve the problem.
Updated by Steffen Gebert almost 14 years ago
fixed in beta3 after merging with current EM repository