Actions
Bug #23652
closedclickmenu broken if no records supplied
Start date:
2010-09-30
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
4.4
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
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.
(issue imported from #M15865)
Files
Updated by Björn Pedersen about 14 years ago
also related: http://bugs.typo3.org/view.php?id=15458
Updated by Steffen Kamper about 14 years ago
Committed to svn
4_4 rev 9014
trunk rev 9015
Actions