Bug #20754 ยป 11531.diff
typo3/sysext/recycler/classes/model/class.tx_recycler_model_deletedRecords.php (working copy) | ||
---|---|---|
// create the filter WHERE-clause
|
||
if (trim($filter) != '') {
|
||
if (strpos($tcaCtrl['label'], ',')) {
|
||
list($label) = explode(',', $tcaCtrl['label']);
|
||
} else {
|
||
$label = $tcaCtrl['label'];
|
||
}
|
||
$filterWhere = ' AND (' .
|
||
(t3lib_div::testInt($filter) ? 'uid = ' . $filter . ' OR pid = ' . $filter . ' OR ' : '') .
|
||
$tcaCtrl['label'] . ' LIKE "%' . $this->escapeValueForLike($filter, $table) . '%"' .
|
||
$label . ' LIKE "%' . $this->escapeValueForLike($filter, $table) . '%"' .
|
||
')';
|
||
}
|
||