[TYPO3-core] RFC: Bugfix show_item.php

Franz Holzinger franz at fholzinger.com
Sat Mar 25 22:30:23 CET 2006


Bernhard Kraft a écrit :

> Hello,
>
>
> This is a CVS patch request.
>
>
> Description:
> When you click the little "i" next to the edit-pencil and you open a
> record which hasn't any references
> set you get an php-error complaining about the argument to foreach no
> being an array ...
>
>
> Solution:
> Move the foreach loop into the if (count($rows)) condition.
>
>
+1


- Franz





More information about the TYPO3-team-core mailing list