Fixed bug #17341: No values for Pages in DB check -> Record Statistics (Thanks to...
authorSteffen Gebert <steffen.gebert@typo3.org>
Wed, 26 Jan 2011 17:14:16 +0000 (17:14 +0000)
committerSteffen Gebert <steffen.gebert@typo3.org>
Wed, 26 Jan 2011 17:14:16 +0000 (17:14 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@10336 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/sysext/lowlevel/dbint/index.php

index 239d2e5..e309f20 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -22,6 +22,7 @@
        * Fixed bug #17279: Old Contextmenu: Partly broken - Mount as TreeRoot / Hide / Unhide / Delete (Thanks to Stefan Galinski)
        * Fixed bug #17326: Update language packages in Extenson Managr: Button misaligned
        * Fixed bug #17343: Wording in Upgrade wizard: Install New System Extensions (Thanks to Peter Kraume)
        * Fixed bug #17279: Old Contextmenu: Partly broken - Mount as TreeRoot / Hide / Unhide / Delete (Thanks to Stefan Galinski)
        * Fixed bug #17326: Update language packages in Extenson Managr: Button misaligned
        * Fixed bug #17343: Wording in Upgrade wizard: Install New System Extensions (Thanks to Peter Kraume)
+       * Fixed bug #17341: No values for Pages in "DB check -> Record Statistics" (Thanks to Sven Juergens)
 
 2011-01-26  Sebastian Kurfuerst  <sebastian@typo3.org>
 
 
 2011-01-26  Sebastian Kurfuerst  <sebastian@typo3.org>
 
index 166004c..cfac4e4 100755 (executable)
@@ -466,12 +466,12 @@ class SC_mod_tools_dbint_index {
                if (t3lib_extMgm::isLoaded('cms'))      {
                        $codeArr[$i][]='<img' . t3lib_iconWorks::skinImg($BACK_PATH,'gfx/hidden_page.gif','width="18" height="16"') . ' hspace="4" align="top">';
                        $codeArr[$i][]=$GLOBALS['LANG']->getLL('hidden_pages');
                if (t3lib_extMgm::isLoaded('cms'))      {
                        $codeArr[$i][]='<img' . t3lib_iconWorks::skinImg($BACK_PATH,'gfx/hidden_page.gif','width="18" height="16"') . ' hspace="4" align="top">';
                        $codeArr[$i][]=$GLOBALS['LANG']->getLL('hidden_pages');
-                       $codeArr[$i][]=$admin->recStat['hidden'];
+                       $codeArr[$i][] = $admin->recStats['hidden'];
                        $i++;
                }
                $codeArr[$i][]='<img' . t3lib_iconWorks::skinImg($BACK_PATH,'gfx/deleted_page.gif','width="18" height="16"') . ' hspace="4" align="top">';
                $codeArr[$i][]=$GLOBALS['LANG']->getLL('deleted_pages');
                        $i++;
                }
                $codeArr[$i][]='<img' . t3lib_iconWorks::skinImg($BACK_PATH,'gfx/deleted_page.gif','width="18" height="16"') . ' hspace="4" align="top">';
                $codeArr[$i][]=$GLOBALS['LANG']->getLL('deleted_pages');
-               $codeArr[$i][]=$admin->recStat['deleted'];
+               $codeArr[$i][] = count($admin->recStats['deleted']['pages']);
 
                $this->content.=$this->doc->section($GLOBALS['LANG']->getLL('pages'), $this->doc->table($codeArr), false, true);
 
 
                $this->content.=$this->doc->section($GLOBALS['LANG']->getLL('pages'), $this->doc->table($codeArr), false, true);
 
@@ -484,7 +484,7 @@ class SC_mod_tools_dbint_index {
                                if ($setup[1]!='--div--')       {
                                        $codeArr[$n][] = '<img' . t3lib_iconWorks::skinImg($BACK_PATH,'gfx/i/' . ($PAGES_TYPES[$setup[1]]['icon'] ? $PAGES_TYPES[$setup[1]]['icon'] : $PAGES_TYPES['default']['icon']), 'width="18" height="16"') . ' hspace="4" align="top">';
                                        $codeArr[$n][] = $GLOBALS['LANG']->sL($setup[0]) . ' (' . $setup[1] . ')';
                                if ($setup[1]!='--div--')       {
                                        $codeArr[$n][] = '<img' . t3lib_iconWorks::skinImg($BACK_PATH,'gfx/i/' . ($PAGES_TYPES[$setup[1]]['icon'] ? $PAGES_TYPES[$setup[1]]['icon'] : $PAGES_TYPES['default']['icon']), 'width="18" height="16"') . ' hspace="4" align="top">';
                                        $codeArr[$n][] = $GLOBALS['LANG']->sL($setup[0]) . ' (' . $setup[1] . ')';
-                                       $codeArr[$n][] = intval($admin->recStat[doktype][$setup[1]]);
+                                       $codeArr[$n][] = intval($admin->recStats['doktype'][$setup[1]]);
                                }
                        }
                        $this->content.=$this->doc->section($GLOBALS['LANG']->getLL('doktype'), $this->doc->table($codeArr), false, true);
                                }
                        }
                        $this->content.=$this->doc->section($GLOBALS['LANG']->getLL('doktype'), $this->doc->table($codeArr), false, true);