Issue Bug Closed

#17513Function addToAllTCAtypes ignores "specificTypesList" if there is just the Type 0 specified

Jonas Felix 08/10/07, 08:42 updated 06/27/08, 10:54

Description

In the file class.t3lib_extmgm.php the function addToAllTCAtypes ignores the parameter “specificTypesList” if there is just the Type 0 specified.

You shuld set $specificTypesList to false by default and check if it is false and not if it’s empty:

line 251:
function addToAllTCAtypes($table,$str,$specificTypesList=false,$position=’‘) {

line 260:
if ($specificTypesList !== false || t3lib_div::inList($specificTypesList,$k)) {

(issue imported from #M6114)

Reviews 0

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