[TYPO3-dev] MM-Problem
Nikolas Hagelstein
hagelstein at shr.cc
Tue Jun 9 12:05:32 CEST 2009
Steffen,
i just read through t3lib_loaddbgroup.php (4.2.6). And came across the
following:
t3lib_loaddbgroup.php:
00123 $this->MM_match_fields = is_array($conf['MM_match_fields']) ?
$conf['MM_match_fields'] : array();
And
t3lib_loaddbgroup.php:
00304 foreach ($this->MM_match_fields as $field => $value) {
00305 $additionalWhere.= ' AND
'.$field.'='.$GLOBALS['TYPO3_DB']->fullQuoteStr($value, $tableName);
00306 }
MM_macht_fields are added to the delete query for the relation.
I would try to set it to tablename = bar (or whatever fit your needs).
This should result in something like:
DELETE FROM mm_foo where uid_local=y AND .... (all entries of
MM_match_fields).
I ain't got a testenvironment arrount atm so could you please report
back if it works?.
Cheers,
Nikolas
More information about the TYPO3-dev
mailing list