From: hickert Date: Fri, 21 Oct 2005 06:12:26 +0000 (+0000) Subject: New printers wasn't saved X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=e0b9454d6021dd67732908e0d6d2bc9221fa110f;p=gosa.git New printers wasn't saved git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1645 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/systems/class_printGeneric.inc b/plugins/admin/systems/class_printGeneric.inc index e75ad359b..faa401561 100644 --- a/plugins/admin/systems/class_printGeneric.inc +++ b/plugins/admin/systems/class_printGeneric.inc @@ -145,8 +145,13 @@ class printgeneric extends plugin } } - - + /* A printer was only saved if the printer belongs to a workstation. + * If there was a new single printer created, it was never saved. + * -This allows new printers to be saved. + */ + if($this->dn == "new"){ + $this->is_account = true; + } } function execute()