[TYPO3-core] FYI: 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
Ralf Hettinger
ng at ralfhettinger.de
Thu Aug 7 21:37:17 CEST 2008
Hi Ingo,
the changes in class.t3lib_div.php between rev 3943 and 3944 (which is
this one I suppose) break the backend: Clipboards can't be selected
anymore and the clickmenus won't work properly.
Having had a quick first glance, I couldn't figure out what the problem
is; after reverting class.t3lib_div.php things were working again.
Behaviour was reproducable in FF3 and IE7.
Relevant line is:
Index: t3lib/class.t3lib_div.php
===================================================================
--- t3lib/class.t3lib_div.php (revision 3943)
+++ t3lib/class.t3lib_div.php (revision 3944)
@@ -3283,7 +3283,7 @@
$params = t3lib_div::_GET();
foreach($getParams as $k => $v) {
- if (strcmp($v,'')) {
+ if (!is_array($v) && strcmp($v,'')) {
$params[$k]=$v;
} else unset($params[$k]);
}
Hm...
Cheers Ralf
Ingo Renner schrieb:
>
>
> just committed some more nobrainers
>
> again trunk, 4.2, and 4.1
>
> Ingo
>
More information about the TYPO3-team-core
mailing list