N°7157 - Fix Selectize plugin error due to file being loaded twice due to slightly different URIs

This commit is contained in:
Molkobain
2024-03-07 15:26:10 +01:00
parent 3650cf761d
commit c24c1ba73c

View File

@@ -555,7 +555,7 @@ class WebPage implements Page
$sAppRootUrl = utils::GetAbsoluteUrlAppRoot();
// Ensure app root url ends with a slash as it is not guaranteed by the API
if (strcmp(substr($sFileRelPath, -1), '/') !== 0) {
if (strcmp(substr($sAppRootUrl, -1), '/') !== 0) {
$sAppRootUrl .= '/';
}