diff --git a/int64validator/attribute_is_divisible_by_an_integer.go b/int64validator/attribute_is_divisible_by_an_integer.go index 6b055b0..b27987c 100644 --- a/int64validator/attribute_is_divisible_by_an_integer.go +++ b/int64validator/attribute_is_divisible_by_an_integer.go @@ -32,7 +32,7 @@ func (validator attributeIsDivisibleByAnInteger) ValidateInt64( res *validator.Int64Response, ) { // If attribute configuration is not null or unknown, there is nothing else to validate - if req.ConfigValue.IsNull() && req.ConfigValue.IsUnknown() { + if req.ConfigValue.IsNull() || req.ConfigValue.IsUnknown() { return }