fixed bug in copyList
This commit is contained in:
parent
d5e78e9453
commit
a096a753ba
1 changed files with 0 additions and 2 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue