diff --git a/include/class_CopyPasteHandler.inc b/include/class_CopyPasteHandler.inc
index 914e88f68e9d8b45aea043e24815430b1fd7e620..fb0fb71c450d147f5e7c77b96d3a66f0a8cb7351 100644
--- a/include/class_CopyPasteHandler.inc
+++ b/include/class_CopyPasteHandler.inc
@@ -167,7 +167,18 @@ class CopyPasteHandler
       return array();
     }
 
-    $entry['object'] = objects::open($entry['dn'], $entry['type']);
+    if (isset($entry['type'])) {
+      $entry['object'] = objects::open($entry['dn'], $entry['type']);
+    } else {
+      trigger_error('Call to deprecated tabs constructor');
+      // old way
+      $tab_c  = $entry['tab_class'];
+      $tab_o  = $entry['tab_object'];
+      $tab_a  = $entry['tab_acl_category'];
+
+      // Deprecated
+      $entry['object'] = new $tab_c(NULL, $config->data['TABS'][$tab_o], $entry['dn'], $tab_a);
+    }
 
     $entry['object']->set_acl_base($base);
     if ($entry['parent'] !== NULL) {