diff --git a/src/Glpi/Form/ConditionalVisiblity/ConditionData.php b/src/Glpi/Form/ConditionalVisiblity/ConditionData.php index 1afeb55d19f..5c0af5c55fe 100644 --- a/src/Glpi/Form/ConditionalVisiblity/ConditionData.php +++ b/src/Glpi/Form/ConditionalVisiblity/ConditionData.php @@ -79,6 +79,6 @@ public function getValueOperator(): ?ValueOperator { // No follback here as an empty value is valid if the condition is not // fully specified yet. - return ValueOperator::tryFrom($this->value_operator); + return ValueOperator::tryFrom($this->value_operator ?? ""); } }