Bug #18048 ยป 7264.diff
typo3/mod/tools/em/class.em_xmlhandler.php (working copy) | ||
---|---|---|
$idx++;
|
||
}
|
||
// Fetch count
|
||
$res = $GLOBALS['TYPO3_DB']->exec_SELECTquery('count(*) as cnt', 'cache_extensions', $where);
|
||
$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('*', 'cache_extensions', $where, '', $order, $offset.','.$limit);
|
||
$this->matchingCount = $GLOBALS['TYPO3_DB']->sql_num_rows($res);
|
||
$this->extensionsXML = array();
|
||
while ($row = $GLOBALS['TYPO3_DB']->sql_fetch_assoc($res)) {
|
||
$row['category'] = $this->catArr[$row['category']];
|