Skip to content

Commit

Permalink
[BUGFIX] Use correct module name for checking permissions to help module
Browse files Browse the repository at this point in the history
The correct module name is `help_cshmanual` to show editors additional
help information.

Resolves: #95431
Releases: master, 10.4
Change-Id: I4d2e3e7461c0fc7a0b1facb0d07a317d6d8e55a9
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/71450
Tested-by: Benjamin Franzke <bfr@qbus.de>
Tested-by: core-ci <typo3@b13.com>
Reviewed-by: Benjamin Franzke <bfr@qbus.de>
  • Loading branch information
georgringer authored and bnf committed Oct 6, 2021
1 parent d270e3f commit a369f85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion typo3/sysext/backend/Classes/Utility/BackendUtility.php
Expand Up @@ -2203,7 +2203,7 @@ public static function helpTextArray($table, $field)
}
// 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')
&& static::getBackendUserAuthentication()->check('modules', 'help_cshmanual')
) {
$output['moreInfo'] = true;
}
Expand Down

0 comments on commit a369f85

Please sign in to comment.