[TYPO3-core] RFC #13257: PHP warning stristr() in Configuration -> Search under PHP 5.3

Steffen Gebert steffen at steffen-gebert.de
Sat Jan 30 13:59:06 CET 2010


Hi,

This is an SVN patch request.

Type: bugfix

BT reference: http://bugs.typo3.org/view.php?id=13257

Branches: 4-3, trunk

Problem:
Configuration -> Search results in lots of PHP warnings under PHP 5.3

> PHP Warning: stristr() expects parameter 1 to be string, array given in  
> t3lib/class.t3lib_arraybrowser.php line 212

Solution:
Check !is_array($keyArr[$key]) (this is already done a few lines above and  
saved in !$deeper).

Note:
Go to module "configuration" and enter a search term.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 13257.diff
Type: text/x-diff
Size: 767 bytes
Desc: not available
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100130/d62b0a41/attachment.diff>


More information about the TYPO3-team-core mailing list