Code

Updated filter to work
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 17 Feb 2010 15:11:27 +0000 (15:11 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 17 Feb 2010 15:11:27 +0000 (15:11 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15634 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/fai/admin/fai/packageSelect/class_filterFAIPackages.inc

index 2b718f9ba01a1c5e7f408e09f6a0c18307467ee0..5dd6232a46ec28de2faa957ff97576e9f4013697 100644 (file)
@@ -4,6 +4,7 @@ class filterFAIPackages {
 
   static function query($base, $scope, $filter, $attributes, $category, $objectStorage= "")
   {
+    $filter= preg_replace('/\*/', '', $filter);
     $pkgs = array();
     $q          = new gosaSupportDaemon();
     $filter     = array("%$filter%");