Project

General

Profile

Actions

Bug #22389

closed

typo in class.t3lib_tcemain.php

Added by Vladimir Podkovanov over 14 years ago. Updated over 14 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2010-04-07
Due date:
% Done:

0%

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

Description

There is line in t3lib_tcemain::insertUpdateDB_preprocessBasedOnFieldType():

$result[$field] = count(t3lib_div::trimExplode(',', true));

it doesn't make sense, should be

$result[$field] = count(t3lib_div::trimExplode(',', $value, true));

(issue imported from #M14016)


Files

14016.diff (539 Bytes) 14016.diff Administrator Admin, 2010-06-15 01:14
Actions #1

Updated by Chris topher over 14 years ago

Hi Vladimir,

want to make a patch and send it to the core list?

Check out http://typo3.org/teams/core/core-mailinglist-rules/

Actions #2

Updated by Christian Kuhn over 14 years ago

I second Christopher's note.

Even if this looks simple, we will have to check side-effects, tcemain in the core class and it's a bit fragile ... If you send this patch to the core list it would be great to show us in which environment something fails and what exactly is better afterwards. This will make reviews a lot easier.

Actions #3

Updated by Vladimir Podkovanov over 14 years ago

Hi, sorry for delay,
yes, I will send.

Actions #4

Updated by Steffen Kamper over 14 years ago

committed to svn
4_3 rev 7933
trunk rev 7934

Actions

Also available in: Atom PDF