Skip to content

Commit

Permalink
[BUGFIX] Fix frappant#50: exception when deleting all records
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitryd committed May 19, 2022
1 parent 5b19bea commit b13e81f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Classes/Controller/FormEntryController.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
use TYPO3\CMS\Core\Localization\LanguageService;
use TYPO3\CMS\Core\Messaging\FlashMessage;
use TYPO3\CMS\Core\Utility\GeneralUtility;
use TYPO3\CMS\Extbase\Mvc\View\NotFoundView;
use TYPO3\CMS\Extbase\Mvc\View\ViewInterface;
use TYPO3\CMS\Extbase\Mvc\Web\Routing\UriBuilder;
use TYPO3\CMS\Extbase\Utility\DebuggerUtility;
Expand Down Expand Up @@ -126,8 +127,8 @@ protected function initializeView(ViewInterface $view)
/** @var BackendTemplateView $view */
parent::initializeView($view);
$this->iconFactory = GeneralUtility::makeInstance(IconFactory::class);
if ($this->actionMethodName != 'exportAction') {

if (!($this->view instanceof NotFoundView)) {
$view->getModuleTemplate()->getDocHeaderComponent()->setMetaInformation([]);

$pageRenderer = $this->view->getModuleTemplate()->getPageRenderer();
Expand Down

0 comments on commit b13e81f

Please sign in to comment.