From: hickert Date: Tue, 24 Apr 2007 08:55:33 +0000 (+0000) Subject: Fixed printer-list used in evironment dialog. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=eab5c4f2de7d43680d320eeebb435b470d3a0c49;p=gosa.git Fixed printer-list used in evironment dialog. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@6184 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/personal/environment/class_selectPrinterDialog.inc b/plugins/personal/environment/class_selectPrinterDialog.inc index 9b17dca8e..2f2afb95c 100644 --- a/plugins/personal/environment/class_selectPrinterDialog.inc +++ b/plugins/personal/environment/class_selectPrinterDialog.inc @@ -126,7 +126,8 @@ class selectPrinterDialog extends plugin foreach($res as $printer) { - $acl = $this->ui->get_permissions($printer['dn'],"printer","gotoUserPrinter"); + $acl = $this->ui->get_permissions($printer['dn'],"printer/printgeneric","gotoUserPrinter"); + if(!preg_match("/w/",$acl)){ continue; }