Code

Fixed printer saving
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 20 Sep 2007 13:25:54 +0000 (13:25 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 20 Sep 2007 13:25:54 +0000 (13:25 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@7359 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/systems/class_printGeneric.inc

index a1a4fd37c159f809d251e2c60d781addb785224d..969fbf3bce4966137e5f160d2dbc8138937775be 100644 (file)
@@ -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();
     }