diff --git a/htdocs/modulebuilder/index.php b/htdocs/modulebuilder/index.php index 5159aef7577..9cbb6ae4167 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 (not a page provided by the module but a page + $urltouse = DOL_URL_ROOT.'/admin/'.$urlpage; $linktoenabledisable .= '   '.img_picto($langs->trans("Setup"), "setup", 'style="padding-right: 6px"').''; } }