Actions
Bug #21011
closedt3lib_loadDBGroup::writeMM() -> Unable to delete file relations
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2009-09-07
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
4.2
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
Description
A value of the uid foreign field has to be quoted!
Methode: t3lib_loadDBGroup::writeMM()
Line: 448
CODE <<<
if(is_array($mmItem)) {
$removeClauses[] = 'tablenames="'.$mmItem0.'" AND '.$uidForeign_field.'='.$mmItem1;
} else {
$removeClauses[] = $uidForeign_field.'='.$mmItem;
}
CODE;
--- change to ---
DEBUGGED_CODE <<<
if(is_array($mmItem)) {
$removeClauses[] = 'tablenames="'.$mmItem0.'" AND '.$uidForeign_field.'="'.$mmItem1.'"';
} else {
$removeClauses[] = $uidForeign_field.'="'.$mmItem.'"';
}
DEBUGGED_CODE;
(issue imported from #M11897)
Updated by Alexander Opitz over 11 years ago
- Status changed from New to Needs Feedback
- Target version deleted (
0)
The issue is very old, does this issue exists in newer versions of TYPO3 CMS (4.5 or 6.1)?
Updated by Alexander Opitz about 11 years ago
- Status changed from Needs Feedback to Closed
- Is Regression set to No
No feedback for over 90 days.
Actions