Project

General

Profile

Actions

Bug #14551

closed

problem in tce_main

Added by Volker Graubaum almost 20 years ago. Updated almost 19 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Frontend
Target version:
-
Start date:
2005-02-12
Due date:
% Done:

0%

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

Description

While inserting an value in the frontend with tce_main I get an error if there will be an table without columns, since the function getExcludeListArray (about line 4270) will work through all array.

I solved it with inserting an if(is_array($TCA[$table]['columns'])){
}

around the code, but I'm not sure about it, why it's neccessary to run through the whole TCA Array, when I know, which table I wanted to change.

So maybe just looking at the table to change should be the better way?
(issue imported from #M785)

Actions

Also available in: Atom PDF