Bug #23851
closedPHP warning in System reports extension
0%
Description
With a fresh install of Typo3 4.4.4 the "System reports" extension generates the following error:
Core: Error handler (BE): PHP Warning: array_merge() [<a href='function.array-merge'>function.array-merge</a>]: Argument #1 is not an array in /mnt/web1-data-primary/www/lib/typo3_src-4.4.4/typo3/sysext/reports/ext_tables.php line 19
Missing check for existing array?
OS: Debian GNU/Linux 5.0
(issue imported from #M16140)
Files
Updated by Steffen Gebert about 14 years ago
Hi Rudi,
seems so. Are you able to create a patch and only merge, if $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['reports']['tx_reports']['status'] is already an array?
Thanks!
Steffen
Updated by Rudi Meyer about 14 years ago
Hi Steffen,
I have attached a patch with my fix.
Thanks for a quick response!
Rudi
Updated by Steffen Gebert about 14 years ago
Hi Rudi,
thanks for your patch!
I've attached an updated one, as old and new source were mixed up and we usually create our patches against SVN root (typo3_src/).
Would you mind sending this to the Core Team list, to get this committed to the TYPO3 sources? Please choose as branches 4-4 and trunk (if it applies to 4-3, then this one, too).
You can find a how-to here: http://typo3blogger.de/ab-in-den-core/ (I assume you're German ;)).
If you have any questions, don't hesistate to ask!
Thanks for your contribution!
Steffen
Updated by Rudi Meyer about 14 years ago
I have send the patch to the Core Team list
Updated by Christian Kuhn about 14 years ago
Committed to:
- trunk 9223
- 4.4 9224
- 4.3 9225