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 {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
if processedAttachment == string(string(b)) {
|
if processedAttachment == string(b) {
|
||||||
a.vanillaFile = true
|
a.vanillaFile = true
|
||||||
}
|
}
|
||||||
return strings.NewReader(processedAttachment), nil
|
return strings.NewReader(processedAttachment), nil
|
||||||
|
|
Loading…
Reference in New Issue