Please help me to understand meaning of below sentence
When to use was and had been in conditional sentence?
a) "The station house officer said if it had been an accidental death they could file case or investigate"
b) "The station house officer said if it was an accidental death they could file case or investigate"