handle case where attributedto is array of strings

This commit is contained in:
Ted Unangst 2019-10-10 17:52:36 -04:00
parent d0ec4da425
commit bcd4cba30d
1 changed files with 4 additions and 0 deletions

View File

@ -394,6 +394,10 @@ func extractattrto(obj junk.Junk) string {
return id
}
}
s, ok := a.(string)
if ok {
return s
}
}
return ""
}