diff --git a/docs/changelog/7.x.x.txt b/docs/changelog/7.x.x.txt index 9a8714d85..100be3d5d 100644 --- a/docs/changelog/7.x.x.txt +++ b/docs/changelog/7.x.x.txt @@ -1,4 +1,5 @@ 7.7.2 + - fixed #10056: YUI javascripts included while adminOff (BNC) - fixed a bug that required you to hit "update cart" before the checkout button would appear - fixed #9955: Matrix alpha sort is backwards diff --git a/lib/WebGUI/Asset/Wobject/Navigation.pm b/lib/WebGUI/Asset/Wobject/Navigation.pm index bb491c591..182903a53 100644 --- a/lib/WebGUI/Asset/Wobject/Navigation.pm +++ b/lib/WebGUI/Asset/Wobject/Navigation.pm @@ -297,8 +297,8 @@ Returns a toolbar with a set of icons that hyperlink to functions that delete, e sub getToolbar { my $self = shift; - return - unless $self->canEdit; + return undef + unless $self->canEdit && $self->session->var->isAdminOn; if ($self->getToolbarState) { my $toolbar = ''; if ($self->canEditIfLocked) {