From: hickert Date: Thu, 28 Sep 2006 09:32:53 +0000 (+0000) Subject: Added some additional checks ... X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=2580ea11e212988069352983267493241a2ede21;p=gosa.git Added some additional checks ... git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4810 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/systems/class_printGeneric.inc b/plugins/admin/systems/class_printGeneric.inc index d35b85ef8..4f33ca2cd 100644 --- a/plugins/admin/systems/class_printGeneric.inc +++ b/plugins/admin/systems/class_printGeneric.inc @@ -153,13 +153,17 @@ class printgeneric extends plugin function set_acl_base($base) { plugin::set_acl_base($base); - $this->netConfigDNS->set_acl_base($base); + if(is_object($this->netConfigDNS)){ + $this->netConfigDNS->set_acl_base($base); + } } function set_acl_category($cat) { plugin::set_acl_category($cat); - $this->netConfigDNS->set_acl_category($cat); + if(is_object($this->netConfigDNS)){ + $this->netConfigDNS->set_acl_category($cat); + } } /* Detect type of printer.