[BUGFIX] AdminPanelView tries to count null value 97/55097/3
authorOliver Hader <oliver@typo3.org>
Fri, 15 Dec 2017 15:58:03 +0000 (16:58 +0100)
committerSusanne Moog <susanne.moog@typo3.org>
Fri, 15 Dec 2017 19:42:07 +0000 (20:42 +0100)
Resolves: #83345
Releases: master, 8.7, 7.6
Change-Id: I49e0de26154430c8a93c6a25a7fa54d5e49be39d
Reviewed-on: https://review.typo3.org/55097
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
typo3/sysext/frontend/Classes/View/AdminPanelView.php

index 67bc0e5..baaa599 100644 (file)
@@ -726,7 +726,7 @@ class AdminPanelView
             $tableArr[] = [$this->extGetLL('info_type'), $tsfe->type];
             $tableArr[] = [$this->extGetLL('info_groupList'), $tsfe->gr_list];
             $tableArr[] = [$this->extGetLL('info_noCache'), $this->extGetLL('info_noCache_' . ($tsfe->no_cache ? 'no' : 'yes'))];
-            $tableArr[] = [$this->extGetLL('info_countUserInt'), count($tsfe->config['INTincScript'])];
+            $tableArr[] = [$this->extGetLL('info_countUserInt'), count($tsfe->config['INTincScript'] ?? [])];
 
             if (!empty($tsfe->fe_user->user['uid'])) {
                 $tableArr[] = [$this->extGetLL('info_feuserName'), htmlspecialchars($tsfe->fe_user->user['username'])];