Bug #21656 ยป 12718.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];
|
||
if ($fTWHERE_subpart[0] === 'uid' && !is_numeric($TSconfig['_THIS_ROW']['uid'])) {
|
||
$fTWHERE_parts[$kk] = '0' . $fTWHERE_subpart[1];
|
||
} else {
|
||
$fTWHERE_parts[$kk] = $TSconfig['_THIS_ROW'][$fTWHERE_subpart[0]] . $fTWHERE_subpart[1];
|
||
}
|
||
}
|
||
}
|
||
$fTWHERE = implode('', $fTWHERE_parts);
|