Code

Fixed missing images problem in group headpage
[gosa.git] / plugins / admin / fai / class_faiPackageEntry.inc
index f57ec2e140bfd3bdaae945f3a8e9df153f714b7d..1a5c784e0995ab910941e8e986902b07366192d2 100644 (file)
@@ -107,7 +107,8 @@ class faiPackageEntry extends plugin
     }
 
     foreach($pkgs as $pkg){
-      if(preg_match("/^".str_replace("*",".*",$this->searchStrPKG)."/i",$pkg[0])){
+      if((preg_match("/^".str_replace("*",".*",$this->searchStrPKG)."/i",$pkg[0]))||
+         (preg_match("/^".str_replace("*",".*",$this->searchStrPKG)."/i",$pkg[3]))){
         if($this->categories[$pkg[2]]){
           if(in_array($pkg[0],$this->selected)){
             $check = " checked ";