Code

Removed debug output
[gosa.git] / include / functions_helpviewer.inc
index 874f24b3f02958c43b9a7c221cfe0fc3440183e7..ab9b3a1d7c8a87cfe72d586f8cb4854c269e88ac 100644 (file)
@@ -274,7 +274,7 @@ function search($arr,$word)
   unset($_SESSION['parsed_search_keyword']);
   $_SESSION['parsed_search_keyword']="";
 
-  error_reporting(E_ALL);
+  error_reporting(E_ALL | E_STRICT);
 
   /* prepare searchwords */
   $word   = trim($word);
@@ -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]);    
               }    
             }