mirror of https://github.com/gophish/gophish
Removed duplicate string function call
parent
0b73100e00
commit
da5a82ef4b
|
@ -132,7 +132,7 @@ func (a *Attachment) ApplyTemplate(ptx PhishingTemplateContext) (io.Reader, erro
|
|||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if processedAttachment == string(string(b)) {
|
||||
if processedAttachment == string(b) {
|
||||
a.vanillaFile = true
|
||||
}
|
||||
return strings.NewReader(processedAttachment), nil
|
||||
|
|
Loading…
Reference in New Issue