diff --git a/src/App.php b/src/App.php index 1649a87454..2576cc5d8e 100644 --- a/src/App.php +++ b/src/App.php @@ -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); diff --git a/src/Core/Update.php b/src/Core/Update.php index 8c15002a60..d2bbc237c7 100644 --- a/src/Core/Update.php +++ b/src/Core/Update.php @@ -411,6 +411,7 @@ class Update 'uid' => $admin['uid'], 'type' => SYSTEM_EMAIL, 'to_email' => $admin['email'], + 'subject' => l10n::t('[Friendica Notify] Database update'), 'preamble' => $preamble, 'body' => $body, 'language' => $lang]