Pass myself along as the asset to check for valid parentage.

This commit is contained in:
Colin Kuskie 2010-04-09 15:04:49 -07:00
parent 4895b14383
commit acded27995

View file

@ -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
}
#-------------------------------------------------------------------