Bug #16476 » TCAdefaults_MMfield_trunk.diff
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);
|