[TYPO3-core] FYI #12160: Bug/cleanup: Scheduler: Check if additional fields indeed provide fields

Francois Suter fsu-lists at cobweb.ch
Fri Oct 9 09:27:01 CEST 2009


The attached patch was committed as a FYI in revision 6123

Type: Bugfix / Code cleanup

Bugtracker references:
http://bugs.typo3.org/view.php?id=12160

Branches:
Trunk

Problem:
If the additional fields definition is incomplete, it may happen that 
its fields list is undefined. This causes a PHP warning in the loop that 
goes over these fields.

Solution:
The solution is to simply add a test to check if the fields list is set 
and is indeed an array.

Cheers

-- 

Francois Suter
Cobweb Development Sarl - http://www.cobweb.ch

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: fyi12160.diff
Url: http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20091009/7c8166ef/attachment.txt 


More information about the TYPO3-team-core mailing list