Project

General

Profile

Bug #23504 » 15642_4-2.diff

Administrator Admin, 2010-09-05 15:55

View differences:

typo3/mod/tools/em/class.em_xmlhandler.php (Arbeitskopie)
function searchExtensionsXML($search, $owner='', $order='', $allExt=false, $allVer=false, $offset=0, $limit=500) {
$where = '1=1';
if ($search) {
$where.= ' AND extkey LIKE \'%'.$GLOBALS['TYPO3_DB']->quoteStr($GLOBALS['TYPO3_DB']->escapeStrForLike($search, 'cache_extensions'), 'cache_extensions').'%\'';
$where.= ' AND extkey LIKE \'%'.$GLOBALS['TYPO3_DB']->escapeStrForLike($GLOBALS['TYPO3_DB']->quoteStr($search, 'cache_extensions'), 'cache_extensions').'%\'';
}
if ($owner) {
$where.= ' AND ownerusername='.$GLOBALS['TYPO3_DB']->fullQuoteStr($owner, 'cache_extensions');
(1-1/4)