Code

Call save_object was missing
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 25 Oct 2005 12:12:42 +0000 (12:12 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 25 Oct 2005 12:12:42 +0000 (12:12 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1686 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/systems/class_printGeneric.inc

index 3b88fc2250e6aec86c7eccf7ebe9a180ff9138ee..0ff2bfcb48ead8762c77a408510fe83208bca3d0 100644 (file)
@@ -254,12 +254,14 @@ class printgeneric extends plugin
     }
 
     if(isset($_POST['SavePPD'])){
+      $this->dialog->save_object();
       if(count($this->dialog->check())){
         foreach($this->dialog->check() as $msg){
           print_red($msg);
         }
       }else{
         $this->gotoPrinterPPD = array();
+        
         $this->gotoPrinterPPD = $this->dialog->save();
         unset($this->dialog);
         $this->dialog=NULL;
@@ -322,6 +324,7 @@ class printgeneric extends plugin
     }
 
     if($this->dialog != NULL){
+      $this->dialog->save_object();
       $display = $this->dialog->execute();
       return $display;
     }