Index: class.tx_staticinfotables_div.php =================================================================== --- class.tx_staticinfotables_div.php (révision 13881) +++ class.tx_staticinfotables_div.php (copie de travail) @@ -2,7 +2,7 @@ /*************************************************************** * Copyright notice * -* (c) 2004-2008 René Fritz (r.fritz@colorcube.de) +* (c) 2004-2009 René Fritz (r.fritz@colorcube.de) * All rights reserved * * This script is part of the Typo3 project. The Typo3 project is @@ -611,11 +611,10 @@ //Merge all ext_keys if (is_array($ext_keys)) { - for($i = 0; $i < sizeof($ext_keys); $i++) { - if (t3lib_extMgm::isLoaded($ext_keys[$i])) { + foreach ($ext_keys as $_EXTKEY) { + if (t3lib_extMgm::isLoaded($_EXTKEY)) { //Include the ext_table - $_EXTKEY = $ext_keys[$i]; - include(t3lib_extMgm::extPath($ext_keys[$i]).'ext_tables.php'); + include(t3lib_extMgm::extPath($_EXTKEY).'ext_tables.php'); } } }