Index: typo3/mod/tools/em/class.em_index.php
===================================================================
--- typo3/mod/tools/em/class.em_index.php (revision 6220)
+++ typo3/mod/tools/em/class.em_index.php (working copy)
@@ -2996,24 +2996,25 @@
function extBackup_dumpDataTablesLine($tablesArray,$extKey) {
$tables = array();
$tablesNA = array();
-
- foreach($tablesArray as $tN) {
- $count = $GLOBALS['TYPO3_DB']->exec_SELECTcountRows('*', $tN);
- if (!$GLOBALS['TYPO3_DB']->sql_error()) {
- $tables[$tN] = '
|
- ' . $tN . ' | | ' .
- sprintf($GLOBALS['LANG']->getLL('extBackup_number_of_records'),
- $count) . ' |
';
- } else {
- $tablesNA[$tN] = ' | ' . $tN . ' | | ' .
- $GLOBALS['LANG']->getLL('extBackup_table_not_there') . ' |
';
- }
+ if (t3lib_extMgm::isLoaded($extKey)) {
+ foreach($tablesArray as $tN) {
+ $count = $GLOBALS['TYPO3_DB']->exec_SELECTcountRows('*', $tN);
+ if (!$GLOBALS['TYPO3_DB']->sql_error()) {
+ $tables[$tN] = ' |
+ ' . $tN . ' | | ' .
+ sprintf($GLOBALS['LANG']->getLL('extBackup_number_of_records'),
+ $count) . ' |
';
+ } else {
+ $tablesNA[$tN] = ' | ' . $tN . ' | | ' .
+ $GLOBALS['LANG']->getLL('extBackup_table_not_there') . ' |
';
+ }
}
+ }
$label = ''.implode('',array_merge($tables,$tablesNA)).'
';// Candidate for t3lib_div::array_merge() if integer-keys will some day make trouble...
if (count($tables)) {
$label = '