Fixed bug found with regards to boolean Alt/Profile values
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user