Merge pull request #28844 from lamrani002/fixInpriceGlobal

FIX assignement variable (PHPStan warnings)
This commit is contained in:
Laurent Destailleur 2024-03-14 22:44:16 +01:00 committed by GitHub
commit da199b3169
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -456,7 +456,7 @@ class PriceGlobalVariableUpdater
$langs->load("errors");
dol_syslog(__METHOD__, LOG_DEBUG);
$this->error = null;
$this->error = '';
$this->checkParameters();
//Try to load the target global variable and abort if fails