We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2d2a984 + 70071f1 commit 0ea1b56Copy full SHA for 0ea1b56
src/Panel/RoutesPanel.php
@@ -37,7 +37,7 @@ public function summary()
37
}
38
39
$routes = array_filter(Router::routes(), function ($route) {
40
- return $route->defaults['plugin'] !== 'DebugKit';
+ return (!isset($routes->defaults['plugin'])) || $route->defaults['plugin'] !== 'DebugKit';
41
});
42
43
return count($routes);
0 commit comments