[BUGFIX] Use unique keys for includeJSLibs and addJsFooterLibrary
[Packages/TYPO3.CMS.git] / typo3 / sysext / core / Classes / Page / PageRenderer.php
index 2923c03..420a9c6 100644 (file)
@@ -1110,6 +1110,7 @@ class PageRenderer implements \TYPO3\CMS\Core\SingletonInterface
         if (!$type) {
             $type = 'text/javascript';
         }
+        $name .= '_jsFooterLibrary';
         if (!in_array(strtolower($name), $this->jsLibs)) {
             $this->jsLibs[strtolower($name)] = [
                 'file' => $file,