[TYPO3-core] RFC # 00015865

Bjoern Pedersen bjoern.pedersen at frm2.tum.de
Thu Sep 30 09:13:43 CEST 2010


Hi,

This is a SVN patch request.

Type: Bugfix

BT reference: http://bugs.typo3.org/view.php?id=15865
Branches: trunk, 4.4

triggered by: http://bugs.typo3.org/view.php?id=15862 [^]

Problem:

clickmenu can call 			t3lib_iconWorks::getSpriteIconForRecord($table,
$this->rec, ... )
with $this->rec not set.

Solution:

before getting icons, set $this->rec to an empty array if it was not set
before.

It can't be set earlier, as an is_array check is used in the cm logig
earlier.

Steps To Reproduce:

 try the cm in the ttnews news admin module.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 15865.patch
Type: text/x-patch
Size: 456 bytes
Desc: not available
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100930/0070f281/attachment.bin>


More information about the TYPO3-team-core mailing list