diff --git a/src/PricingManager/Rule.php b/src/PricingManager/Rule.php index 92938fec..c514bfbc 100644 --- a/src/PricingManager/Rule.php +++ b/src/PricingManager/Rule.php @@ -120,7 +120,7 @@ public function setValue(string $key, mixed $value, bool $ignoreEmptyValues = fa return $this; } } - $this->$method($value); + $this->$method($value ?? ''); } return $this;