Code

Template update .
[gosa.git] / gosa-plugins / gofax / gofax / blocklists / class_blocklistManagement.inc
index e1499259c59e607db9ea7b5af1f398f65cb4d08c..ae3ee7a5a16c028cb996f29cd5bf0049de1a90c3 100644 (file)
@@ -150,7 +150,7 @@ class blocklist extends plugin
         }
       } else {
         /* Errors found, show message */
-        show_errors ($message);
+        msgDialog::displayChecks($message);
       }
     }
 
@@ -452,12 +452,9 @@ class blocklist extends plugin
     /* Return C&P dialog */
     if($this->start_pasting_copied_objects && $this->CopyPasteHandler->entries_queued()){
 
-      /* Load entry from queue and set base */
-      $this->CopyPasteHandler->load_entry_from_queue();
-      $this->CopyPasteHandler->SetVar("base",$this->DivListBlocklist->selectedBase);
-
       /* Get dialog */
       $data = $this->CopyPasteHandler->execute();
+      $this->CopyPasteHandler->SetVar("base",$this->DivListBlocklist->selectedBase);
 
       /* Return dialog data */
       if(!empty($data)){