Set mysoc

This commit is contained in:
Laurent Destailleur
2025-09-08 01:27:38 +02:00
parent 21d28a745f
commit 8beb61ef7f

View File

@@ -190,6 +190,7 @@ class DolibarrApiAccess implements iAuthenticate
$conf->global->MAIN_NO_INPUT_PRICE_WITH_TAX = 1; $conf->global->MAIN_NO_INPUT_PRICE_WITH_TAX = 1;
} }
// Set also the global variable $mysoc // Set also the global variable $mysoc
global $mysoc;
$mysoc = $fmysoc; $mysoc = $fmysoc;
// Reload langs // Reload langs