]> git.mxchange.org Git - friendica.git/commitdiff
Fix wrong call to module in mod/display
authorHypolite Petovan <hypolite@mrpetovan.com>
Thu, 2 Dec 2021 14:44:41 +0000 (09:44 -0500)
committerHypolite Petovan <hypolite@mrpetovan.com>
Thu, 2 Dec 2021 14:44:56 +0000 (09:44 -0500)
mod/display.php

index daa78b03e1046717f7ae308d17c54015677777cd..b87e075488c290391afdf41638020038b3ec983b 100644 (file)
@@ -40,7 +40,7 @@ use Friendica\Protocol\DFRN;
 function display_init(App $a)
 {
        if (ActivityPub::isRequest()) {
-               (new Objects(DI::l10n(), ['guid' => DI::args()->getArgv()[1] ?? null]))->rawContent();
+               (new Objects(DI::l10n(), DI::baseUrl(), DI::args(), DI::logger(), DI::profiler(), DI::apiResponse(), $_SERVER, ['guid' => DI::args()->getArgv()[1] ?? null]))->run();
        }
 
        if (DI::config()->get('system', 'block_public') && !Session::isAuthenticated()) {