From cbb8b9b69a5f2f91840aca738e3906c984056323 Mon Sep 17 00:00:00 2001 From: hickert Date: Mon, 17 Dec 2007 07:50:16 +0000 Subject: [PATCH] Environment. - Fixed Printer selection. Subsearch wasn't working git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8133 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../plugins/personal/environment/class_selectPrinterDialog.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gosa-core/plugins/personal/environment/class_selectPrinterDialog.inc b/gosa-core/plugins/personal/environment/class_selectPrinterDialog.inc index fea177be4..5e1b8a3d2 100644 --- a/gosa-core/plugins/personal/environment/class_selectPrinterDialog.inc +++ b/gosa-core/plugins/personal/environment/class_selectPrinterDialog.inc @@ -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); -- 2.30.2