fix upgrade script for config lacking AdminBar
This commit is contained in:
parent
fbb88243ac
commit
42e05311e1
1 changed files with 1 additions and 1 deletions
|
|
@ -7,7 +7,7 @@ use WebGUI::Asset::Template;
|
|||
|
||||
my $removeAdminBar = sub {
|
||||
my $macro = shift;
|
||||
if ($macro->{macroPackage} eq 'WebGUI::Macro::AdminBar') {
|
||||
if ($macro->{macro} eq 'AdminBar' || $macro->{macroPackage} eq 'WebGUI::Macro::AdminBar' ) {
|
||||
return '';
|
||||
}
|
||||
else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue