X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Feditpost.php;h=848e1ce862706dce946548db2d03d50330fc3cce;hb=25f0f0c4396ece49634be517b92d638ef9c73505;hp=8ef15208457afe333e785401e7fb788a74d17e68;hpb=a6423031eba1236127160ced3028e36401f40536;p=friendica.git diff --git a/mod/editpost.php b/mod/editpost.php index 8ef1520845..848e1ce862 100644 --- a/mod/editpost.php +++ b/mod/editpost.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) { notice(DI::l10n()->t('Item not found')); @@ -124,7 +124,6 @@ function editpost_content(App $a) '$profile_uid' => $_SESSION['uid'], '$preview' => DI::l10n()->t('Preview'), '$jotplugins' => $jotplugins, - '$sourceapp' => DI::l10n()->t($a->sourcename), '$cancel' => DI::l10n()->t('Cancel'), '$rand_num' => Crypto::randomDigits(12),