From ac01139ab7ac88337835cbe7d96b70f3436c16b3 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 --- Koha/Manual.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Koha/Manual.pm b/Koha/Manual.pm index b96ca1012d2..897fec654d3 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.34.1