From eb3659b5b8796f1c250123b2384e2ad1a8b16d46 Mon Sep 17 00:00:00 2001 From: Florian HENRY Date: Thu, 11 Feb 2021 17:20:07 +0100 Subject: [PATCH] fix module builder setup link --- htdocs/modulebuilder/index.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/htdocs/modulebuilder/index.php b/htdocs/modulebuilder/index.php index 5159aef7577..2a5fb727239 100644 --- a/htdocs/modulebuilder/index.php +++ b/htdocs/modulebuilder/index.php @@ -1711,7 +1711,8 @@ if (is_array($listofmodules) && count($listofmodules) > 0) { $urltouse = dol_buildpath('/'.$regs[2].'/admin/'.$regs[1], 1); $linktoenabledisable .= '   '.img_picto($langs->trans("Setup"), "setup", 'style="padding-right: 6px"').''; } else { - $urltouse = $urlpage; + //Case standard admin page + $urltouse = dol_buildpath(DOL_URL_ROOT.'/admin/'.$urlpage,1); $linktoenabledisable .= '   '.img_picto($langs->trans("Setup"), "setup", 'style="padding-right: 6px"').''; } }