Back out r2910 for now since it doesn't seem quite right. This
needs further examination.
This commit is contained in:
parent
381ce45c1a
commit
31cbd665e6
2 changed files with 1 additions and 2 deletions
|
|
@ -10,7 +10,6 @@
|
||||||
- fix: Spectre pings not using correct IP address
|
- fix: Spectre pings not using correct IP address
|
||||||
- fix: search functionality throwing fatal errors
|
- fix: search functionality throwing fatal errors
|
||||||
- fix: DBI connect errors infinitely recurse
|
- fix: DBI connect errors infinitely recurse
|
||||||
- fix: copying Collaboration System assets failing
|
|
||||||
|
|
||||||
7.0.7
|
7.0.7
|
||||||
- rfe: Image Management (funded by Formation Design Systems)
|
- rfe: Image Management (funded by Formation Design Systems)
|
||||||
|
|
|
||||||
|
|
@ -171,7 +171,7 @@ Duplicates self, cuts duplicate, returns self->getContainer->www_view if canEdit
|
||||||
sub www_copy {
|
sub www_copy {
|
||||||
my $self = shift;
|
my $self = shift;
|
||||||
return $self->session->privilege->insufficient() unless $self->canEdit;
|
return $self->session->privilege->insufficient() unless $self->canEdit;
|
||||||
my $newAsset = $self->getParent->duplicate($self);
|
my $newAsset = $self->duplicate;
|
||||||
$newAsset->update({ title=>$self->getTitle.' (copy)'});
|
$newAsset->update({ title=>$self->getTitle.' (copy)'});
|
||||||
$newAsset->cut;
|
$newAsset->cut;
|
||||||
return $self->getContainer->www_view;
|
return $self->getContainer->www_view;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue