[BUGFIX] Check access to cshmanual module
[Packages/TYPO3.CMS.git] / typo3 / sysext / backend / Classes / Utility / BackendUtility.php
index 9ecba2a..c336175 100755 (executable)
@@ -2448,8 +2448,10 @@ class BackendUtility
             if ($data['alttitle']) {
                 $output['title'] = $data['alttitle'];
             }
-            // If we have more information to show
-            if ($data['image_descr'] || $data['seeAlso'] || $data['details'] || $data['syntax']) {
+            // If we have more information to show and access to the cshmanual
+            if (($data['image_descr'] || $data['seeAlso'] || $data['details'] || $data['syntax'])
+                && static::getBackendUserAuthentication()->check('modules', 'help_CshmanualCshmanual')
+            ) {
                 $output['moreInfo'] = true;
             }
             // Add description