Code

Fixed error, messages when adding new users to printer
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 20 Jun 2006 08:01:02 +0000 (08:01 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 20 Jun 2006 08:01:02 +0000 (08:01 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@3829 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/systems/class_printGeneric.inc

index 7c51299fe51f3e6c49e77dbf020cce1e3f62d089..c61bda5fb2b19dba967df3125a73b17938fa6945 100644 (file)
@@ -352,16 +352,16 @@ class printgeneric extends plugin
     $smarty->assign("baseACL", chkacl($this->acl,"base"));
 
     if(isset($_POST['AddUser'])){
-      $this->dialog = new selectUserToPrinterDialog($this->config, get_userinfo(),"AddUser");
+      $this->dialog = new selectUserToPrinterDialog($this->config, NULL,"AddUser");
     }
     if(isset($_POST['AddGroup'])){
-      $this->dialog = new selectUserToPrinterDialog($this->config, get_userinfo(),"AddGroup");
+      $this->dialog = new selectUserToPrinterDialog($this->config, NULL,"AddGroup");
     }
     if(isset($_POST['AddAdminUser'])){
-      $this->dialog = new selectUserToPrinterDialog($this->config, get_userinfo(),"AddAdminUser");
+      $this->dialog = new selectUserToPrinterDialog($this->config, NULL,"AddAdminUser");
     }
     if(isset($_POST['AddAdminGroup'])){
-      $this->dialog = new selectUserToPrinterDialog($this->config, get_userinfo(),"AddAdminGroup");
+      $this->dialog = new selectUserToPrinterDialog($this->config, NULL,"AddAdminGroup");
     }
 
     /* Display ppd configure/select dialog      */