[TYPO3-core] Bug 3552: Uninitialized array causes problems in PHP5

Ingmar Schlecht ingmar at typo3.org
Wed Jul 19 21:34:05 CEST 2006


Hi Bernhard,

Bernhard Kraft wrote:
> This is a CVS patch request
> (my first since SVN - could anyone point me to a thread where it has been
> discussed how to commit now (i know svn update/commit - just not if we have to
> use special branches or whatever)
> 
> Bugtracker reference:
> http://bugs.typo3.org/view.php?id=3552

Adding another is_array() to the if clause would completely skip the
code in between the if clause. Is that intended? I don't exactly know
what the function is, but I don't quite think it's right to completely
stop the recursive call of checkValue_flex_procInData_travDS() in case
$dataValues_current[...] is not an array.

I have attached a different patch, but didn't test it at all (haven't
got TV installed).

BTW, do you know if this is related to
http://bugs.typo3.org/view.php?id=3840? Someone on the dev-list said
that one is still not fixed either.

cheers
Ingmar
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: tcemain.diff
Url: http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20060719/69952111/attachment.diff 


More information about the TYPO3-team-core mailing list