[TYPO3-core] RFC # 00015865 clickmenu breaks if no record set.

Björn Pedersen pedersen at frm2.tum.de
Thu Oct 7 09:52:25 CEST 2010


Am 30.09.2010 09:21, schrieb Bjoern Pedersen:
> Am 30.09.2010 09:13, schrieb Bjoern Pedersen:
>> 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.
>>
> Missed the title

Reminder #1 , one core dev vote is missing



More information about the TYPO3-team-core mailing list