From: hickert Date: Tue, 20 Jun 2006 08:01:02 +0000 (+0000) Subject: Fixed error, messages when adding new users to printer X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=d7ccaabe7dbcfd160a2e5840a52ca3b79f1b906d;p=gosa.git Fixed error, messages when adding new users to printer git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@3829 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/systems/class_printGeneric.inc b/plugins/admin/systems/class_printGeneric.inc index 7c51299fe..c61bda5fb 100644 --- a/plugins/admin/systems/class_printGeneric.inc +++ b/plugins/admin/systems/class_printGeneric.inc @@ -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 */