Browse Source

Update Admin/Admin.php

Tim Nagel 13 years ago
parent
commit
cc0fcb22b9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Admin/Admin.php

+ 1 - 1
Admin/Admin.php

@@ -1764,7 +1764,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(