fix can't set odt directory (#28028)

This commit is contained in:
Frédéric FRANCE 2024-02-07 19:36:48 +01:00 committed by GitHub
parent 097290fc38
commit c8fb2d9043
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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();