X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fshare.php;h=b18655aef88f16561c8da97cf6035e76115a2c9f;hb=e56a53647bd5469551bf4f9ef2df50a5dd16b943;hp=b606c1a66916fb096c3c0841e67f1b44786c65e6;hpb=0668b2dfd57a1b246d179c13978a14308b6b23ef;p=friendica.git diff --git a/mod/share.php b/mod/share.php index b606c1a669..b18655aef8 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();