Project

General

Profile

Bug #16960 ยป class.em_xmlhandler.patch

Administrator Admin, 2007-02-08 18:19

View differences:

class.em_xmlhandler.php (working copy)
$forder = 'category';
break;
}
$order = $forder.', title';
$order = $forder.', title';
$group = $order;
if (!$allVer) {
if ($this->useUnchecked) {
$where .= ' AND lastversion>0';
......
}
// Fetch count
$res = $GLOBALS['TYPO3_DB']->exec_SELECTquery('count(*) as cnt', 'cache_extensions', $where, '', $order);
$res = $GLOBALS['TYPO3_DB']->exec_SELECTquery('count(*) as cnt', 'cache_extensions', $where, $group, $order);
$row = $GLOBALS['TYPO3_DB']->sql_fetch_assoc($res);
$this->matchingCount = $row['cnt'];
$GLOBALS['TYPO3_DB']->sql_free_result($res);
$res = $GLOBALS['TYPO3_DB']->exec_SELECTquery('count(*) as cnt', 'cache_extensions', $where, '', $order);
$res = $GLOBALS['TYPO3_DB']->exec_SELECTquery('count(*) as cnt', 'cache_extensions', $where, $group, $order);
$res = $GLOBALS['TYPO3_DB']->exec_SELECTquery('*', 'cache_extensions', $where, '', $order, $offset.','.$limit);
$this->extensionsXML = array();
    (1-1/1)