[followup](bug #3584) fix variable name
authorNahuel ANGELINETTI <nahuel.angelinetti@biblibre.com>
Wed, 9 Sep 2009 09:41:34 +0000 (11:41 +0200)
committerHenri-Damien LAURENT <henridamien.laurent@biblibre.com>
Mon, 21 Sep 2009 20:36:50 +0000 (22:36 +0200)
C4/Search.pm

index 8f3410f..885e39c 100644 (file)
@@ -1016,9 +1016,9 @@ sub buildQuery {
     my $stopwords_removed;    # flag to determine if stopwords have been removed
 
     my $cclq;
-    my $indexes = getIndexes();
+    my $cclindexes = getIndexes();
     if( $query !~ /\s*ccl=/ ){
-        for my $index (@$indexes){
+        for my $index (@$cclindexes){
             if($query =~ /($index)(,?\w)*:/){
                 $cclq = 1;
             }