diff --git a/pkg/coredata/document_version_signature_state.go b/pkg/coredata/document_version_signature_state.go index 10e07b56b..54312af4e 100644 --- a/pkg/coredata/document_version_signature_state.go +++ b/pkg/coredata/document_version_signature_state.go @@ -78,7 +78,7 @@ func (pvs DocumentVersionSignatureState) Value() (driver.Value, error) { } func (states DocumentVersionSignatureStates) Value() (driver.Value, error) { - if states == nil || len(states) == 0 { + if len(states) == 0 { return nil, nil }