Skip to content

Commit

Permalink
Fix nested var not identified in view.xml
Browse files Browse the repository at this point in the history
  • Loading branch information
torreytsui authored Nov 24, 2016
1 parent d40ab32 commit f7031be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/internal/Magento/Framework/Config/View.php
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ protected function getIdAttributes()
{
$idAttributes = [
'/view/vars' => 'module',
'/view/vars/var' => 'name',
'/view/vars/(var/)*var' => 'name',
'/view/exclude/item' => ['type', 'item'],
];
foreach ($this->xpath as $attribute) {
Expand Down

0 comments on commit f7031be

Please sign in to comment.