Bug #21471 » bug_12482.diff
typo3/mod/tools/em/class.em_xmlhandler.php (working copy) | ||
---|---|---|
if ($search && $exactMatch) {
|
||
$where.= ' AND extkey=' . $GLOBALS['TYPO3_DB']->fullQuoteStr($search, 'cache_extensions');
|
||
} elseif($search) {
|
||
$where.= ' AND extkey LIKE \'%'.$GLOBALS['TYPO3_DB']->quoteStr($GLOBALS['TYPO3_DB']->escapeStrForLike($search, 'cache_extensions'), 'cache_extensions').'%\'';
|
||
$quotedSearch = $GLOBALS['TYPO3_DB']->quoteStr(
|
||
$GLOBALS['TYPO3_DB']->escapeStrForLike($search, 'cache_extensions'),
|
||
'cache_extensions'
|
||
);
|
||
$where .= ' AND (extkey LIKE \'%' . $quotedSearch . '%\' OR title LIKE \'%' . $quotedSearch . '%\')';
|
||
}
|
||
if ($owner) {
|
||
$where.= ' AND ownerusername='.$GLOBALS['TYPO3_DB']->fullQuoteStr($owner, 'cache_extensions');
|
- « Previous
- 1
- 2
- 3
- Next »