+2008-08-06 Ingo Renner <ingo@typo3.org>
+
+ * Fixed bug: PHP 5.3 throws a warning in class.t3lib_befunc.php on line 3348: trim() expects parameter 1 to be string, array given
+
2008-08-05 Dmitry Dulepov <dmitry@typo3.org>
* Fixed bug #8890: Feature: hook in function "getSingleField_SW" before rendering of single fields in tceforms (thanks to Alex Widschwendter)
public static function isModuleSetInTBE_MODULES($modName) {
reset($GLOBALS['TBE_MODULES']);
$loaded = array();
+
while(list($mkey, $list) = each($GLOBALS['TBE_MODULES'])) {
$loaded[$mkey] = 1;
- if (trim($list)) {
+ if (!is_array($list) && trim($list)) {
$subList = t3lib_div::trimExplode(',', $list, 1);
while(list(,$skey) = each($subList)) {
$loaded[$mkey.'_'.$skey] = 1;