Code

Added patches from 2.5
[gosa.git] / include / functions_helpviewer.inc
index 874f24b3f02958c43b9a7c221cfe0fc3440183e7..aad1af72bdba734392a8ffa8307023c3137c990a 100644 (file)
@@ -314,7 +314,7 @@ function search($arr,$word)
           /* Filter in Tag results*/
           if(count($matches[0])){
             foreach($matches[0] as $num=>$hit){
-              if(isset($arr[$key]['content']) && (is_in_tag($arr[$key]['content'],$hit[1]))){
+              if(isset($arr[$keys][$key]['content']) && (is_in_tag($arr[$keys][$key]['content'],$hit[1]))){
                 unset($matches[0][$num]);    
               }    
             }