truncated words bore a double * which would create an error
---
 C4/Search.pm |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/C4/Search.pm b/C4/Search.pm
index c8eddab..ff1a69f 100644
--- a/C4/Search.pm
+++ b/C4/Search.pm
@@ -935,7 +935,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;
                                        }
-- 
1.6.3.3

_______________________________________________
Koha-patches mailing list
[email protected]
http://lists.koha.org/mailman/listinfo/koha-patches

Reply via email to