Project

General

Profile

Actions

Bug #23823

closed

listNum = 0 not working anymore due to stdWrap changes

Added by Susanne Moog about 14 years ago. Updated over 13 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
-
Target version:
-
Start date:
2010-10-22
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.5
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Since the stdWrap refactoring import.listNum = 0 does not work anymore and all other functions where = 0 is not meant to be false will fail, too. This is due to a wrong check in function stdWrap, line 4461.

If changed from
if ($conf[$functionName] || $conf[$functionProperties]) {
to
if (isset($conf[$functionName]) || $conf[$functionProperties]) {

it works again. I did not test possible other effects of that change at the moment.

(issue imported from #M16107)


Files

tslib_content_v2.diff (12 KB) tslib_content_v2.diff Administrator Admin, 2010-10-22 23:44
Actions

Also available in: Atom PDF