followup : auto_truncation 3287252c0

truncated words bore a double * which would create an error
This commit is contained in:
Henri-Damien LAURENT 2009-10-13 16:22:24 +02:00
parent e5c8244009
commit c8ff9618cd

View file

@ -937,7 +937,7 @@ sub buildQuery {
unless ( $index =~ /(st-|phr|ext)/ ) {
#FIXME only valid with LTR scripts
$operand=join(" ",map{
"$_*"
(index($_,"*")>0?"$_":"$_*")
}split (/\s+/,$operand));
warn $operand if $DEBUG;
}