Issue Bug Closed

#14551problem in tce_main

Volker Graubaum 02/12/05, 03:20 updated 02/08/06, 23:28

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)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.