Skip to content
Snippets Groups Projects
Commit 9c5cb271 authored by deuce's avatar deuce
Browse files

This is JS, not perl... for strings, it's still spelt !=

parent a71da190
Branches
Tags
No related merge requests found
......@@ -234,7 +234,7 @@ else {
}
}
if(gender != 'M' && gender != 'F') {
if(template.sex_required==required_str /* || template.sex_required ne '' */) {
if(template.sex_required==required_str || template.sex_required != '') {
err=1;
template.err_message+="Please specify gender (M or F)\r\n";
template.errs["gender"]="Male or Female";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment