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:
parent
251c92ebe2
commit
781f7e5f9e
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue