]> git.mxchange.org Git - friendica.git/commitdiff
Fix warning
authorMichael <heluecht@pirati.ca>
Tue, 9 Apr 2019 05:17:02 +0000 (05:17 +0000)
committerMichael <heluecht@pirati.ca>
Tue, 9 Apr 2019 05:17:02 +0000 (05:17 +0000)
src/App.php

index 1649a8745479f55fd74a1123b2be4e3af9bd370a..2576cc5d8ea7447d49d2ab7101028b4bd1f704e1 100644 (file)
@@ -1270,7 +1270,8 @@ class App
                        // First we try explicit routes defined in App\Router
                        $this->router->collectRoutes();
 
-                       Hook::callAll('route_collection', $this->router->getRouteCollector());
+                       $data = $this->router->getRouteCollector();
+                       Hook::callAll('route_collection', $data);
 
                        $this->module_class = $this->router->getModuleClass($this->cmd);