admin: handle case insensitive ucq
This commit is contained in:
parent
32fe61f557
commit
23b6b2b005
|
@ -170,7 +170,7 @@ func buildKeyFlag(exercice fic.Exercice, flag ExerciceFlag, flagline int, defaul
|
|||
Value: val,
|
||||
})
|
||||
|
||||
if val == raw {
|
||||
if val == raw || (!flag.CaseSensitive && val == strings.ToLower(raw)) {
|
||||
hasOne = true
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user