Permalink
Browse files

Merge branch 'hotfix/3052'

Close #3052
Fix #3051
  • Loading branch information...
2 parents 390e0a7 + 9e0e570 commit d8534f25e80a3fb1fa7b06a28fddc211023c14a5 @weierophinney weierophinney committed Dec 10, 2012
Showing with 5 additions and 1 deletion.
  1. +2 −0 library/Zend/Navigation/Page/Mvc.php
  2. +3 −1 tests/ZendTest/Navigation/Page/MvcTest.php
@@ -440,6 +440,8 @@ public function toArray()
'controller' => $this->getController(),
'params' => $this->getParams(),
'route' => $this->getRoute(),
+ 'router' => $this->getRouter(),
+ 'route_match' => $this->getRouteMatch(),
)
);
}
@@ -418,7 +418,9 @@ public function testToArrayMethod()
'active' => true,
'visible' => false,
'foo' => 'bar',
- 'meaning' => 42
+ 'meaning' => 42,
+ 'router' => $this->router,
+ 'route_match' => $this->routeMatch,
);
$page = new Page\Mvc($options);

0 comments on commit d8534f2

Please sign in to comment.