Pass myself along as the asset to check for valid parentage.
This commit is contained in:
parent
4895b14383
commit
acded27995
1 changed files with 1 additions and 1 deletions
|
|
@ -47,7 +47,7 @@ paste a wiki page anywhere else but a wiki master.
|
|||
|
||||
sub canPaste {
|
||||
my $self = shift;
|
||||
return $self->validParent($self->session); ##Lazy call to a class method
|
||||
return $self->validParent($self->session, $self); ##Lazy call to a class method
|
||||
}
|
||||
|
||||
#-------------------------------------------------------------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue