Skip to content

Commit

Permalink
MINOR LeftAndMain->Breadcrumbs() ordering
Browse files Browse the repository at this point in the history
  • Loading branch information
chillu committed Feb 28, 2012
1 parent f67cca3 commit af9e46a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions admin/code/LeftAndMain.php
Expand Up @@ -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(
Expand Down

0 comments on commit af9e46a

Please sign in to comment.