diff --git a/plugins/admin/fai/class_faiPackageEntry.inc b/plugins/admin/fai/class_faiPackageEntry.inc
index f57ec2e140bfd3bdaae945f3a8e9df153f714b7d..f863296709ac0ddfe1546cc48527f1cd50572520 100644 (file)
function execute()
{
+ /* Call parent execute */
+ plugin::execute();
+
/* Fill templating stuff */
$smarty = get_smarty();
$display = "";
}
}
+ $cnt = 0;
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 ";
}else{
$check = "";
}
+ $cnt ++ ;
$chkbox = "<input type='checkbox' value='1' name='use_".base64_encode($pkg[0])."' ".$check." onclick='document.mainform.submit()'>
<input type='hidden' value='1' name='wasonpage_".base64_encode($pkg[0])."'>";
$divlist->AddEntry(array(array("string"=>$chkbox),