Project

General

Profile

Bug #20754 ยป 11531.diff

Administrator Admin, 2009-07-14 18:01

View differences:

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) . '%"' .
')';
}
    (1-1/1)