make sure we are using var->isAdminOn instead of var->get('adminOn')

This commit is contained in:
Graham Knop 2008-09-18 19:51:25 +00:00
parent eca7ffbe9d
commit 7bf06aab7b
9 changed files with 16 additions and 57 deletions

View file

@ -2381,7 +2381,7 @@ The default view method for any asset that doesn't define one. Under all normal
sub view {
my $self = shift;
if ($self->session->var->get("adminOn")) {
if ($self->session->var->isAdminOn) {
return $self->getToolbar.' '.$self->getTitle;
} else {
return "";