[BUGFIX] Cannot define a non-sprite category module icon 88/43088/2
authorXavier Perseguers <xavier@typo3.org>
Mon, 7 Sep 2015 09:26:08 +0000 (11:26 +0200)
committerXavier Perseguers <xavier@typo3.org>
Thu, 10 Sep 2015 14:45:02 +0000 (16:45 +0200)
Change-Id: I3f039e12d9bdb46ae85ec159603a8f3031da0dde
Releases: master
Resolves: #69583
Reviewed-on: http://review.typo3.org/43088
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Tested-by: Daniel Goerz <ervaude@gmail.com>
Reviewed-by: Xavier Perseguers <xavier@typo3.org>
Tested-by: Xavier Perseguers <xavier@typo3.org>
typo3/sysext/backend/Classes/Domain/Repository/Module/BackendModuleRepository.php

index 3536746..bd806bd 100644 (file)
@@ -242,7 +242,7 @@ class BackendModuleRepository implements \TYPO3\CMS\Core\SingletonInterface {
                                'name' => $moduleName,
                                'title' => $GLOBALS['LANG']->moduleLabels['tabs'][$moduleName . '_tab'],
                                'onclick' => 'top.goToModule(' . GeneralUtility::quoteJSvalue($moduleName) . ');',
-                               'icon' => $this->getModuleIcon($moduleName, $moduleData),
+                               'icon' => $this->getModuleIcon($moduleName . '_tab', $moduleData),
                                'link' => $moduleLink,
                                'description' => $GLOBALS['LANG']->moduleLabels['labels'][$moduleKey . 'label']
                        );