From: hickert Date: Thu, 20 Sep 2007 13:25:54 +0000 (+0000) Subject: Fixed printer saving X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=3d7710d086fceeef08f61e208db270a94b2f19bf;p=gosa.git Fixed printer saving git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@7359 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/systems/class_printGeneric.inc b/plugins/admin/systems/class_printGeneric.inc index a1a4fd37c..969fbf3bc 100644 --- a/plugins/admin/systems/class_printGeneric.inc +++ b/plugins/admin/systems/class_printGeneric.inc @@ -723,7 +723,7 @@ class printgeneric extends plugin } /* save ppd configuration */ - if($this->PPDdialogToSave){ + if($this->PPDdialogToSave && is_object($this->PPDdialogToSave)){ $this->PPDdialogToSave->save_ppd(); }