From 98d0ed71107163544cbc2d1e45bb2dddeed40c4d Mon Sep 17 00:00:00 2001 From: Lamrani Abdel Date: Thu, 14 Mar 2024 16:14:55 +0100 Subject: [PATCH] FIX assignement variable (PHPStan warnings) --- .../dynamic_price/class/price_global_variable_updater.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/product/dynamic_price/class/price_global_variable_updater.class.php b/htdocs/product/dynamic_price/class/price_global_variable_updater.class.php index 42030aa290e..c0ec8226e3d 100644 --- a/htdocs/product/dynamic_price/class/price_global_variable_updater.class.php +++ b/htdocs/product/dynamic_price/class/price_global_variable_updater.class.php @@ -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