[TYPO3-core] RFC: Bugfix show_item.php

Bernhard Kraft kraftb at kraftb.at
Sat Mar 25 22:24:17 CET 2006


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.


Files:
show_item_2006-03-25.diff



greets,
Bernhard
-------------- next part --------------
A non-text attachment was scrubbed...
Name: show_item_2006-03-25.diff
Type: text/x-patch
Size: 755 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20060325/f3f962a7/attachment.bin 


More information about the TYPO3-team-core mailing list