8000 [FrameworkBundle] Fix Routing\DelegatingLoader · symfony/symfony@d858694 · GitHub
[go: up one dir, main page]

Skip to content

Commit d858694

Browse files
[FrameworkBundle] Fix Routing\DelegatingLoader
1 parent a40c94d commit d858694

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Bundle/FrameworkBundle/Routing/DelegatingLoader.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ public function load($resource, $type = null)
8585
$this->loading = false;
8686

8787
foreach ($collection->all() as $route) {
88-
if (!$controller = $route->getDefault('_controller')) {
88+
if (!is_string($controller = $route->getDefault('_controller')) || !$controller) {
8989
continue;
9090
}
9191

0 commit comments

Comments
 (0)
0