N°6733 Fix some attributes impl not prompted in transitions when mandatory

This commit is contained in:
Pierre Goiffon
2023-09-26 10:55:48 +02:00
parent 12c0edc530
commit c5cb84f976
2 changed files with 23 additions and 4 deletions

View File

@@ -791,7 +791,7 @@ abstract class AttributeDefinition
public function HasAValue($proposedValue): bool
{
// Default implementation, we don't really know what type $proposedValue will be
return is_null($proposedValue);
return !(is_null($proposedValue));
}
/**