Project

General

Profile

Bug #16476 » TCAdefaults_MMfield_trunk.diff

Administrator Admin, 2007-12-11 18:57

View differences:

t3lib/class.t3lib_loaddbgroup.php (working copy)
// Now, populate the internal itemArray and tableArray arrays:
if ($MMtable) { // If MM, then call this function to do that:
$this->readMM($MMtable,$MMuid);
if($MMuid) {
$this->readMM($MMtable, $MMuid, $itemlist);
} else {
$this->readList($itemlist);
}
} elseif ($MMuid && $conf['foreign_field']) {
// If not MM but foreign_field, the read the records by the foreign_field
$this->readForeignField($MMuid, $conf);
(1-1/2)