Fixed bug found with regards to boolean Alt/Profile values

This commit is contained in:
Gregory Kurtzer
2021-08-21 08:50:37 -07:00
parent 3136398e94
commit 7bbe942a32

View File

@@ -61,8 +61,10 @@ func (ent *Entry) SetAlt(val string, from string) {
}
func (ent *Entry) SetAltB(val bool, from string) {
ent.altbool = val
ent.from = from
if val == true {
ent.altbool = val
ent.from = from
}
}