Project

General

Profile

Actions

Bug #23652

closed

clickmenu broken if no records supplied

Added by Björn Pedersen about 14 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
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

15865.patch (456 Bytes) 15865.patch Administrator Admin, 2010-09-30 09:11
Actions #2

Updated by Steffen Kamper about 14 years ago

Committed to svn
4_4 rev 9014
trunk rev 9015

Actions #3

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF