fixed bug in copyList

This commit is contained in:
JT Smith 2005-01-09 14:47:30 +00:00
parent d5e78e9453
commit a096a753ba

View file

@ -1974,8 +1974,6 @@ Duplicates self, cuts (moves to clipboard) the duplicate newAsset, repeats for o
sub www_copyList {
my $self = shift;
return $self->getAdminConsole->render(WebGUI::Privilege::insufficient()) unless $self->canEdit;
my $newAsset = $self->duplicate;
$newAsset->cut;
foreach my $assetId ($session{cgi}->param("assetId")) {
my $asset = WebGUI::Asset->newByDynamicClass($assetId);
if ($asset->canEdit) {