Fix globalvar

This commit is contained in:
Laurent Destailleur
2025-11-20 22:28:38 +01:00
parent 3ea601d4c2
commit 74eb89869e

View File

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