From c8fb2d90436b4831e232f6ac3f7655f366e6f4d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20FRANCE?= Date: Wed, 7 Feb 2024 19:36:48 +0100 Subject: [PATCH] fix can't set odt directory (#28028) --- htdocs/admin/stock.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/htdocs/admin/stock.php b/htdocs/admin/stock.php index a784792ae02..34a511aeb77 100644 --- a/htdocs/admin/stock.php +++ b/htdocs/admin/stock.php @@ -40,6 +40,7 @@ if (!$user->admin) { $action = GETPOST('action', 'aZ09'); $value = GETPOST('value', 'alpha'); +$modulepart = GETPOST('modulepart', 'aZ09'); // Used by actions_setmoduleoptions.inc.php $label = GETPOST('label', 'alpha'); $scandir = GETPOST('scan_dir', 'alpha'); $type = 'stock'; @@ -48,6 +49,7 @@ $type = 'stock'; /* * Action */ +include DOL_DOCUMENT_ROOT.'/core/actions_setmoduleoptions.inc.php'; $reg = array();