a few last minute bug fixes

This commit is contained in:
JT Smith 2005-09-11 22:12:17 +00:00
parent 5b4323e1bd
commit e750c405f8
3 changed files with 17 additions and 5 deletions

View file

@ -1321,7 +1321,8 @@ Returns "".
sub view {
my $self = shift;
WebGUI::HTTP::setRedirect($self->getDefault->getUrl);
WebGUI::HTTP::setRedirect($self->getDefault->getUrl) if ($self->getId eq "PBasset000000000000001");
return $self->getToolbar if ($session{var}{adminOn});
return undef;
}