Code

Updated workstation - Startup
[gosa.git] / plugins / admin / systems / class_glpiPrinterAccount.inc
index 9a461b785ec261ed8e06bd8d4ac03f417f110fcc..6447d62ca47496fbeb3403e10e3ff28f2211d642 100644 (file)
@@ -534,7 +534,7 @@ class glpiPrinterAccount extends plugin
     /* if( cur_dialog != false || cur_dialog != NULL) 
      * There is a dialog which wants to be displayed 
      */
-    if($this->cur_dialog){
+    if($this->cur_dialog && is_object($this->cur_dialog)){
       $this->cur_dialog->save_object();
       $this->dialog=true;
       $this->cur_dialog->parent = &$this;