Code

Environment.
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 17 Dec 2007 07:50:16 +0000 (07:50 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 17 Dec 2007 07:50:16 +0000 (07:50 +0000)
- Fixed Printer selection. Subsearch wasn't working

git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8133 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/plugins/personal/environment/class_selectPrinterDialog.inc

index fea177be4e2874a5491db732226551b0b703c17e..5e1b8a3d26dcb8a1e92dd15673e6315c8bce1f47 100644 (file)
@@ -130,8 +130,9 @@ class selectPrinterDialog extends plugin
     $module = $this->module;
     $base   = $this->depselect;
     $attrs  = array("cn","description");
+
     if ($this->subtreesearch){
-      $res    = get_list($filter,$module,$base,$attrs, GL_SIZELIMIT, GL_SUBSEARCH);
+      $res    = get_list($filter,$module,$base,$attrs, GL_SIZELIMIT | GL_SUBSEARCH);
     } else {
       $base= "ou=printers,ou=systems,".$base;
       $res    = get_list($filter,$module,$base,$attrs, GL_SIZELIMIT);