Permalink
Browse files

MINOR LeftAndMain->Breadcrumbs() ordering

  • Loading branch information...
1 parent f67cca3 commit af9e46af74c8323275671faea7a72490ba815f9b @chillu chillu committed Feb 28, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 admin/code/LeftAndMain.php
View
1 admin/code/LeftAndMain.php
@@ -516,6 +516,7 @@ public function Breadcrumbs($unlinked = false) {
if($record) {
if($record->hasExtension('Hierarchy')) {
$ancestors = $record->getAncestors();
+ $ancestors = new ArrayList(array_reverse($ancestors->toArray()));
$ancestors->push($record);
foreach($ancestors as $ancestor) {
$items->push(new ArrayData(array(

0 comments on commit af9e46a

Please sign in to comment.