소스 검색

Merge pull request #432 from merk/patch-1

Added check for children breadcrumbs
Thomas 13 년 전
부모
커밋
df2a846b59
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      Admin/Admin.php

+ 1 - 1
Admin/Admin.php

@@ -1809,7 +1809,7 @@ abstract class Admin implements AdminInterface, DomainObjectInterface
                 );
             }
 
-            if ($this->hasSubject()) {
+            if ($action != 'create' && $this->hasSubject()) {
                 $breadcrumbs = $menu->getBreadcrumbsArray( (string) $this->getSubject());
             } else {
                 $breadcrumbs = $menu->getBreadcrumbsArray(