From f7e5084c9b90bd2cb2174fb939ca4f2702664fe4 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Tue, 24 Jun 2025 12:29:23 +0200 Subject: [PATCH] Bug 39712: Remove extra '/' from the URL Signed-off-by: Aude Charillon --- Koha/Manual.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Koha/Manual.pm b/Koha/Manual.pm index b96ca1012d..897fec654d 100644 --- a/Koha/Manual.pm +++ b/Koha/Manual.pm @@ -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 -- 2.39.5