From 6f4a1cd12e20f8a70aa68eea317cc1e862ad5741 Mon Sep 17 00:00:00 2001 From: Jeff Segars Date: Tue, 4 Dec 2007 22:46:35 +0000 Subject: [PATCH] Fixed bug #6114: t3lib_extMgm::addToAllTCATypes ignores type 0 git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@2794 709f56b5-9817-0410-a4d7-c38de5d9e867 --- ChangeLog | 4 ++++ t3lib/class.t3lib_extmgm.php | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index b4eeafa0f437..3c6d5d3cdb77 100755 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2007-12-04 Jeff Segars + + * Fixed bug #6114: t3lib_extMgm::addToAllTCATypes ignores type 0 + 2007-12-02 Dmitry Dulepov * Fixed bug #6727: Fatal error install tool diff --git a/t3lib/class.t3lib_extmgm.php b/t3lib/class.t3lib_extmgm.php index c3158a0488d6..3fc007baca84 100644 --- a/t3lib/class.t3lib_extmgm.php +++ b/t3lib/class.t3lib_extmgm.php @@ -258,7 +258,7 @@ class t3lib_extMgm { $str = trim($str); if ($str && is_array($TCA[$table]) && is_array($TCA[$table]['types'])) { foreach($TCA[$table]['types'] as $k => $v) { - if (!$specificTypesList || t3lib_div::inList($specificTypesList,$k)) { + if ($specificTypesList === '' || t3lib_div::inList($specificTypesList,$k)) { if ($insert) { if (count($positionArr)) { $append=true; -- 2.20.1