mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
N°7157 - Fix Selectize plugin error due to file being loaded twice due to slightly different URIs
This commit is contained in:
@@ -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 .= '/';
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user