From cf262056259b01391f4e8635daceec231073140f Mon Sep 17 00:00:00 2001 From: liumengyi Date: Fri, 15 Dec 2023 14:07:18 +0800 Subject: [PATCH] * Fix bug #41631, only get base url when the lib is not empty. --- module/api/ui/index.html.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/api/ui/index.html.php b/module/api/ui/index.html.php index 945709aa4b..0de9ac54e9 100644 --- a/module/api/ui/index.html.php +++ b/module/api/ui/index.html.php @@ -109,7 +109,7 @@ $docContent = panel div ( setClass('detail base-url'), - $lang->api->baseUrl . $delimiter . $lib->baseUrl + $lang->api->baseUrl . $delimiter . ($lib ? $lib->baseUrl : '') ), h::hr(setClass('mb-4')), div