From 58e1d1dae144f449f7340ceb20b03e4a6d17343e Mon Sep 17 00:00:00 2001 From: davegilligan Date: Sat, 23 May 2026 20:13:22 +0200 Subject: [PATCH] Fix tool URLs in nav dropdown to use absolute paths Relative slug.php URLs resolved to /dashboard/slug.php when the nav was included from /dashboard/* pages. Prefix with / to make absolute. Co-Authored-By: Claude Sonnet 4.6 --- includes/i18n.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/i18n.php b/includes/i18n.php index 331660a..e5430ea 100644 --- a/includes/i18n.php +++ b/includes/i18n.php @@ -1578,7 +1578,7 @@ function dbnToolsLaunchedTools(?string $language = null): array 'sub' => $sub, 'description' => $description, 'badge' => $badge, - 'url' => $slug . '.php', + 'url' => '/' . $slug . '.php', 'icon' => $icons[$slug], ]; }