Code

Fixed printer-list used in evironment dialog.
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 24 Apr 2007 08:55:33 +0000 (08:55 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 24 Apr 2007 08:55:33 +0000 (08:55 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@6184 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/personal/environment/class_selectPrinterDialog.inc

index 9b17dca8e99b4f85581fae1e937a37feba416878..2f2afb95c7b9f3ad06e1ee834c63cf712075f2ca 100644 (file)
@@ -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;
       }