diff --git a/txop/msg/msg.go b/txop/msg/msg.go index 3cc6c227aed2dd02ce49504b52d3eb49c0dd5a44..2a7cd797ea8c6ac63092945b9a51179a09f76ae5 100644 --- a/txop/msg/msg.go +++ b/txop/msg/msg.go @@ -71,7 +71,7 @@ func NewAlertErrByLanguage(model *domain.Model, msgId1, msgId2 common.MsgIdType, } } if resMul, _ := res_m.GetResMultiTextBy(model, msgId2, lang); resMul != nil { - if len(args1) > 0 { + if len(args2) > 0 { content = fmt.Sprintf(resMul.Content, args2...) } else { content = resMul.Content