summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 7adb547)
raw | patch | inline | side by side (parent: 7adb547)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 25 Jan 2007 09:57:44 +0000 (09:57 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 25 Jan 2007 09:57:44 +0000 (09:57 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@5620 594d385d-05f5-0310-b6e9-bd551577e9d8
include/class_CopyPasteHandler.inc | patch | blob | history |
index 334bd988dc6e3c55e51552274d5b63439a1b3155..afb2a117ec147840cf00c55b04a2e4a639b476e8 100644 (file)
$this->copyCurrent = true;
$this->objectdn = $obj->dn;
$this->current = $emptyObj;
+
+ if(!isset($obj->by_object)){
+ trigger_error("No valid tab object specified for copy & paste.");
+ return;
+ }
+
foreach($obj->by_object as $name => $obj){
/* Prepare every single class, to be copied */