Procházet zdrojové kódy

Update Admin/Admin.php

Tim Nagel před 13 roky
rodič
revize
cc0fcb22b9
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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(