admin: handle case insensitive ucq
This commit is contained in:
parent
32fe61f557
commit
23b6b2b005
1 changed files with 1 additions and 1 deletions
|
@ -170,7 +170,7 @@ func buildKeyFlag(exercice fic.Exercice, flag ExerciceFlag, flagline int, defaul
|
||||||
Value: val,
|
Value: val,
|
||||||
})
|
})
|
||||||
|
|
||||||
if val == raw {
|
if val == raw || (!flag.CaseSensitive && val == strings.ToLower(raw)) {
|
||||||
hasOne = true
|
hasOne = true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue