Fix for bug 603

This commit is contained in:
rangi 2003-09-12 00:46:21 +00:00
parent 2bf9de3d80
commit b1acf4e1b4

View file

@ -1760,8 +1760,8 @@ sub BornameSearch {
or othernames like \"$data[0]%\" or othernames like \"% $data[0]%\")
";
for (my $i=1;$i<$count;$i++){
$query=$query." and (surname like \"$data[$i]%\" or surname like \"% $data[$i]%\"
or firstname like \"$data[$i]%\" or firstname like \"% $data[$i]%\"
$query=$query." and (".
" firstname like \"$data[$i]%\" or firstname like \"% $data[$i]%\"
or othernames like \"$data[$i]%\" or othernames like \"% $data[$i]%\")";
# FIXME - .= <<EOT;
}