Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
rande committed Mar 27, 2013
1 parent 7ad6373 commit 1b57a1c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Admin/Admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -1993,7 +1993,10 @@ public function buildBreadcrumbs($action, MenuItemInterface $menu = null)
$this->trans($this->getLabelTranslatorStrategy()->getLabel(sprintf('%s_%s', $this->getClassnameLabel(), $action), 'breadcrumb', 'link'))
);
}

} elseif ($action != 'list' && $this->hasSubject()) {
$breadcrumbs = $child->getBreadcrumbsArray(
$this->toString($this->getSubject())
);
} elseif ($action != 'list') {
$breadcrumbs = $child->getBreadcrumbsArray(
$this->trans($this->getLabelTranslatorStrategy()->getLabel(sprintf('%s_%s', $this->getClassnameLabel(), $action), 'breadcrumb', 'link'))
Expand Down

0 comments on commit 1b57a1c

Please sign in to comment.