Project

General

Profile

Bug #15027 ยป 2005-10-18_bugfix_1571.patch

Administrator Admin, 2005-10-18 10:18

View differences:

db_new_content_el.php 18 Oct 2005 08:17:28 -0000
// Load full table definition:
t3lib_div::loadTCA('tt_content');
$headersUsed = Array();
// Traverse wizard items:
foreach($wizardItems as $key => $cfg) {
......
} else {
// Add the parameter:
$wizardItems[$key]['params'].= '&defVals[tt_content]['.$fN.']='.rawurlencode($fV);
$tmp = explode('_', $key);
$headersUsed[$tmp[0]] = $tmp[0];
}
}
}
}
}
// remove headers without elements
foreach($wizardItems as $key => $cfg) {
$tmp = explode('_',$key);
if(!$tmp[1] && !in_array($tmp[0], $headersUsed)) {
unset($wizardItems[$key]);
}
}
}
}
    (1-1/1)