Index: trunk/kernel/include/item.php =================================================================== diff -u -r330 -r332 --- trunk/kernel/include/item.php (.../item.php) (revision 330) +++ trunk/kernel/include/item.php (.../item.php) (revision 332) @@ -939,7 +939,7 @@ $this->Create(); // copy relationships $NewId = $this->Get("ResourceId"); - $reldata = new clsRelationshipList($DestCat,$this->IdField()); + $reldata = new clsRelationshipList($TargetCat,$this->IdField()); $reldata->CopyToResource($OldId,$NewId); // copy reviews