fixed a privilege problem

This commit is contained in:
JT Smith 2006-02-17 15:09:26 +00:00
parent 4b97b4b431
commit 5dcdab0700

View file

@ -1153,6 +1153,7 @@ sub www_view {
# print out RSS 2.0 feed describing the items visible on the first page
sub www_viewRSS {
my $self = shift;
return $self->session->privilege->noAccess() unless $self->canView;
my %var;
$self->logView() if ($self->session->setting->get("passiveProfilingEnabled"));