a bunch of bug fixes

This commit is contained in:
JT Smith 2005-06-14 19:15:06 +00:00
parent 85736ac437
commit 594e27d9eb
7 changed files with 16 additions and 32 deletions

View file

@ -2486,7 +2486,7 @@ sub www_copy {
my $self = shift;
return WebGUI::Privilege::insufficient() unless $self->canEdit;
my $newAsset = $self->duplicate;
$newAsset->update({ title=>$newAsset->getTitle.' (copy)'});
$newAsset->update({ title=>$self->getTitle.' (copy)'});
$newAsset->cut;
return $self->getContainer->www_view;
}