make sure we are using var->isAdminOn instead of var->get('adminOn')
This commit is contained in:
parent
eca7ffbe9d
commit
7bf06aab7b
9 changed files with 16 additions and 57 deletions
|
|
@ -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 "";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue