Bug 39712: Remove extra '/' from the URL

Signed-off-by: Aude Charillon <aude.charillon@openfifth.co.uk>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit 2aeab5ba46)
Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de>
This commit is contained in:
Jonathan Druart 2025-06-24 12:29:23 +02:00 committed by Paul Derscheid
parent 251c92ebe2
commit 781f7e5f9e
No known key found for this signature in database
GPG Key ID: C25F9FD44CED595B
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ sub _get_base_url {
$KohaManualBaseURL = C4::Context->preference('staffClientBaseURL') . $KohaManualBaseURL;
}
return
$KohaManualBaseURL . '/'
( $KohaManualBaseURL =~ s#/$##r ) . '/'
. _get_help_version . '/'
. $KohaManualLanguage
. '/html'; # TODO html could be a KohaManualFormat with pdf, html, epub