#17027GMENU imgNameNotRandom doesn't work with special=language
Description
The title tells it all.
The reason for this behaviour is that a menu using imgNameNotRandom relies on the page ids, which are not necessarily unique for a language menu – actually they probably very rarely are.
This might be true for other HMENU “special” properties as well: Those differ by the variable $key in function tslib_gmenu::writeMenu of class.tslib_menu.php
Attached patch solves the problem by adding the key to the JS variable name for an image but not the “random” md5 string.
Patched against typo3/sysext/cms/tslib/class.tslib_menu.php
(issue imported from #M5053)
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.