X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;ds=sidebyside;f=include%2Ffunctions_helpviewer.inc;h=ab9b3a1d7c8a87cfe72d586f8cb4854c269e88ac;hb=c4924928dc7abdf5caaf67d8d614fe014483a0c5;hp=874f24b3f02958c43b9a7c221cfe0fc3440183e7;hpb=8ed10a962338dacc357d1aee6eb1d70729b9f4b6;p=gosa.git diff --git a/include/functions_helpviewer.inc b/include/functions_helpviewer.inc index 874f24b3f..ab9b3a1d7 100644 --- a/include/functions_helpviewer.inc +++ b/include/functions_helpviewer.inc @@ -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]); } }