inlineView must prepareView before view()

This commit is contained in:
Matthew Wilson 2006-05-18 13:41:37 +00:00
parent 7a9a967c74
commit e05490487c

View file

@ -1811,6 +1811,7 @@ Returns the view() method of the asset object if the requestor canView.
sub www_ajaxInlineView {
my $self = shift;
return $self->session->privilege->noAccess() unless $self->canView;
$self->prepareView;
return $self->view;
}