[followup](bug #3584) fix variable name
[koha.git] / 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;
             }