fix infinite loop in nav
This commit is contained in:
parent
65742963aa
commit
5e34d1bca9
1 changed files with 2 additions and 1 deletions
|
|
@ -427,7 +427,8 @@ sub view {
|
||||||
next;
|
next;
|
||||||
}
|
}
|
||||||
my $pageData = {};
|
my $pageData = {};
|
||||||
while (my ($property, $propertyValue) = each %{ $asset->get() }) {
|
my $pageProperties = $asset->get;
|
||||||
|
while (my ($property, $propertyValue) = each %{ $pageProperties }) {
|
||||||
$pageData->{"page.".$property} = $propertyValue;
|
$pageData->{"page.".$property} = $propertyValue;
|
||||||
}
|
}
|
||||||
$pageData->{'page.menuTitle'} = $asset->getMenuTitle;
|
$pageData->{'page.menuTitle'} = $asset->getMenuTitle;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue