Project

General

Profile

Bug #24114 ยป 16455.diff

Administrator Admin, 2010-11-17 23:09

View differences:

typo3/sysext/em/classes/database/class.tx_em_database.php (working copy)
public function getExtensionCountFromRepository($repository = NULL) {
if (is_null($repository)) {
return $GLOBALS['TYPO3_DB']->exec_SELECTcountRows(
'DISTINCT(extkey)',
'DISTINCT extkey',
self::TABLE_EXTENSION
);
} else {
return $GLOBALS['TYPO3_DB']->exec_SELECTcountRows(
'DISTINCT(extkey)',
'DISTINCT extkey',
self::TABLE_EXTENSION,
'repository=' . intval($repository)
);
    (1-1/1)