Bug #22672 » 14412.diff
t3lib/class.t3lib_befunc.php (working copy) | ||
---|---|---|
while(list($kk, $vv) = each($fTWHERE_parts)) {
|
||
if ($kk) {
|
||
$fTWHERE_subpart = explode('###', $vv, 2);
|
||
$fTWHERE_parts[$kk] = $TSconfig['_THIS_ROW'][$fTWHERE_subpart[0]].$fTWHERE_subpart[1];
|
||
$fTWHERE_parts[$kk] = $GLOBALS['TYPO3_DB']->quoteStr($TSconfig['_THIS_ROW'][$fTWHERE_subpart[0]], $foreign_table) . $fTWHERE_subpart[1];
|
||
}
|
||
}
|
||
$fTWHERE = implode('', $fTWHERE_parts);
|