X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fshare.php;h=571fe1e4d695f4fc5ff6d174c7dccf7cf23e4ae1;hb=6b03ee29229e1c56e1ba71fb3ff062fa4f1ce51a;hp=b606c1a66916fb096c3c0841e67f1b44786c65e6;hpb=ee5207410c71492b2e771479ff1890d8ef4552da;p=friendica.git diff --git a/mod/share.php b/mod/share.php index b606c1a669..571fe1e4d6 100644 --- a/mod/share.php +++ b/mod/share.php @@ -1,6 +1,6 @@ argc > 1) ? intval($a->argv[1]) : 0); + $post_id = ((DI::args()->getArgc() > 1) ? intval(DI::args()->getArgv()[1]) : 0); if (!$post_id || !local_user()) { exit();